procmail
[Top] [All Lists]

Filtering image attachments with procmail

2003-07-14 09:51:55
Hello:

I'm wondering if anyone has any ideas on how I could filter incoming image 
attachments to reduce their size before being sent on...

I have recently volunteered to run a mailing list for the Association of
Canadian Mountaing Guides. Many of the contributors have digital photos
(mountain conditions, etc.) to submit but, unfortunately, do not have the
technical savvy to reduce their photos to an appropriate size.
Often photos > 800 KB come through, which is a bummer for those of
us with humble modem connections.

Basically I would want procmail to send jpeg or gif attachments to
something like ImageMagick to resize them to about 200x300 px, and
optimise the image quality, i.e. indexed gif/png (so the image is < 50
KB), then re-insert the attachments into the original email.

Any ideas on how to get started??... Is this too lofty of a project?

Thanks,
Tom Wolfe

-- 


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail