Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Graphics Mill and ImageUploader watermark
Rank: Member
Groups: Member
Joined: 2/18/2006(UTC) Posts: 3
|
I have ImageUploader 3.5 and Graphics Mill 2.0. When uploading I create 2 thumbnails 1 thumbnail is (120x90) for displaying multiple images on a single web page and the other (600x450) is for preview.
On the server I have Graphics Mill create a watermark using the DrawOnBitmap routine. (objWMBitmap.DrawOnBitmap objBitmap,0,0,,,,,,, CombineModeAlpha, CombineOpacity, InterpolationModeHighQuality)
My problem is that the uploader compresses the image and the second thumbnail (600x450) is compressed again by the DrawOnBitmap routine. Is there another way of adding a watermark without compressing it twice? What am I doing wrong?
I have the UploadThumbnail1JpegQuality parameter of the uploader set to 100. The original jpg is 1.75MB When not using the DrawOnBitmap routine, the image file size is ~160KB. When using both ImageUploader and DrawOnBitmap the image file size is ~26KB.
|
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
The only way to eliminate double recompression is to generate thumbnails by Graphics Mill rather than by Image Uploader. But if you do not upload original file, Graphics Mill can put watermark only on thumbnail you send instead of original file.
However if you configure JPEG quality properly you should not have noticeable problems with quality (although it degrade more or less). What code you use to save watermarked image?
P.S. To be precise, compression is done not by DrawOnBitmap, but by SaveToFile method... :)
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Graphics Mill and ImageUploader watermark
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.