As @CBroe already suggested, you can give any document as the ErrorDocument
served to the client, even a transparent pixel image
ErrorDocument 404 /images/1x1.png
If you put the .htaccess in the images
folder, only missing files from here and below will be treated.
The returned status code 404
will still be logged in the access.log
together with the missing image filename.