Watermarking images
Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341829 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Watermarking images
http://www.bennadel.com/blog/775-Learning-ColdFusion-8-CFImage-Part-III-Watermarks-And-Transparency.htm On Thu, Feb 3, 2011 at 11:14 AM, wabba must...@wabba.net wrote: Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341830 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Watermarking images
If you are running a version of CF that supports cfimage, have a look at this http://www.bennadel.com/blog/775-Learning-ColdFusion-8-CFImage-Part-III-Watermarks-And-Transparency.htm On Thu, Feb 3, 2011 at 11:14 AM, wabba must...@wabba.net wrote: Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341831 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Watermarking images
Yep...Will look. Any ideas on what sort of processing impact that puts on the server when done in real time, or if it's worth worrying about? -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Thursday, February 03, 2011 8:29 AM To: cf-talk Subject: Re: Watermarking images If you are running a version of CF that supports cfimage, have a look at this http://www.bennadel.com/blog/775-Learning-ColdFusion-8-CFImage-Part-III-Wate rmarks-And-Transparency.htm On Thu, Feb 3, 2011 at 11:14 AM, wabba must...@wabba.net wrote: Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341832 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Watermarking images
It's probably going to add a few seconds per request. Ideally you wouldn't be adding watermark at runtime. If it were me I'd batch process the img files and put them in a folder specifically for watermarked versions. That way you aren't running the watermark every single time an image is requested. You only watermark once per image. my $0.02 On Thu, Feb 3, 2011 at 11:32 AM, wabba must...@wabba.net wrote: Yep...Will look. Any ideas on what sort of processing impact that puts on the server when done in real time, or if it's worth worrying about? -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Thursday, February 03, 2011 8:29 AM To: cf-talk Subject: Re: Watermarking images If you are running a version of CF that supports cfimage, have a look at this http://www.bennadel.com/blog/775-Learning-ColdFusion-8-CFImage-Part-III-Wate rmarks-And-Transparency.htm On Thu, Feb 3, 2011 at 11:14 AM, wabba must...@wabba.net wrote: Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341834 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Watermarking images
It's probably going to add a few seconds per request. Ideally you wouldn't be adding watermark at runtime. If it were me I'd batch process the img files and put them in a folder specifically for watermarked versions. That way you aren't running the watermark every single time an image is requested. You only watermark once per image. I'll second this. There's no reason you have to do this at runtime. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341835 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Watermarking images
This can easily be done with cfimage. I just wanted to offer my experience with doing it on the fly. If you hit my site, in my signature, you will see a watermarked mast head image. If you refresh, you will get another. My super cool plan was to have the watermark added on each request. It worked quickly enough that it was no problem at all... however, the image had some very strange caching issues on the browser side... I tried everything I could think of to get around it but eventually ended up watermarking the images and saving the watermarked file for display. When a new image is added to a directory, I can click a button to loop oever them, watermark them and move them to the directory that they will be displayed from. Ray Camden offered a good idea for a gateway that would watch the diectory and handle the watermakrs without any interaction... But my suggestion is to, somehow, watermark the images permanently and use those for display. You can always keep an original copy and watermark them again later (if your watermark changes or something). But the headaches of doing it on the fly became too much to worry with and I ended up saving watermarked versions instead. You can see some code and more detail here: http://acoderslife.com/index.cfm/blog/Mast-head-image-bug The code there is what I was using to watermark on the fly. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: wabba [mailto:must...@wabba.net] Sent: Thursday, February 03, 2011 11:15 AM To: cf-talk Subject: Watermarking images Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341836 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Watermarking images
Thanks for the ideas, a few seconds per display is definitely unacceptable with any sort of volume. Gets tricky when you have hundreds to update at a time and obviously can't run images through again which have already been watermarked. Many of the images are uploaded/updated via the web in which case it can easily be handled at that time. When batches are done (which is often times hundreds or thousands, and with no way to tell which are new and which are just duplicate copies of what already exists, particularly after the old ones are watermarked/modified...) it might be smart to just setup a temp directory with a script that could either be on a schedule or manually invoked to watermark and move. Keeping a second folder of clean images offline to pull form would be fine, anyone have any suggestions on a good command line utility? -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: Thursday, February 03, 2011 9:29 AM To: cf-talk Subject: RE: Watermarking images This can easily be done with cfimage. I just wanted to offer my experience with doing it on the fly. If you hit my site, in my signature, you will see a watermarked mast head image. If you refresh, you will get another. My super cool plan was to have the watermark added on each request. It worked quickly enough that it was no problem at all... however, the image had some very strange caching issues on the browser side... I tried everything I could think of to get around it but eventually ended up watermarking the images and saving the watermarked file for display. When a new image is added to a directory, I can click a button to loop oever them, watermark them and move them to the directory that they will be displayed from. Ray Camden offered a good idea for a gateway that would watch the diectory and handle the watermakrs without any interaction... But my suggestion is to, somehow, watermark the images permanently and use those for display. You can always keep an original copy and watermark them again later (if your watermark changes or something). But the headaches of doing it on the fly became too much to worry with and I ended up saving watermarked versions instead. You can see some code and more detail here: http://acoderslife.com/index.cfm/blog/Mast-head-image-bug The code there is what I was using to watermark on the fly. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: wabba [mailto:must...@wabba.net] Sent: Thursday, February 03, 2011 11:15 AM To: cf-talk Subject: Watermarking images Anyone have a good tool for watermarking images either as they are displayed to the client, or on the backside as they are uploaded? Working on a parts database of 30k+ items and the part images are updated frequently. We regularly receive images discs or flash drives from manufacturers which we then just dump over the top of the old images, so doing the watermarking on the fly ensures it's always displayed without having to do the entire thing over. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341858 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm