Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Ztarlight  
#1 Posted : Thursday, August 30, 2007 4:26:11 PM(UTC)
Ztarlight

Rank: Member

Groups: Member
Joined: 8/21/2007(UTC)
Posts: 2

For some reason my "ActualSize" thumbnail becomes larger (bigger filesize) than the original file, why this phenomenon?

We need high quality pictures as the original file, but uses thumbnail1 as the original.


Code:
iu.addParam("UploadThumbnail1CopyExif", "true");
iu.addParam("UploadThumbnail1FitMode", "ActualSize");
iu.addParam("UploadThumbnail1JpegQuality", "100");
iu.addParam("UploadThumbnail1ResizeQuality", "Medium");



I have tried remove the exif information, the jpegquality and resizequality, but nothing seem to change. (if the java-applet itself stores any of this information within itself and is cached.)


Code:
iu.addParam("UploadThumbnail2CopyExif", "true");
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "506");
iu.addParam("UploadThumbnail2Height", "506");
iu.addParam("UploadThumbnail2JpegQuality", "100");
iu.addParam("UploadThumbnail2ResizeQuality", "Medium");

iu.addParam("UploadThumbnail3CopyExif", "true");
iu.addParam("UploadThumbnail3FitMode", "Fit");
iu.addParam("UploadThumbnail3Width", "80");
iu.addParam("UploadThumbnail3Height", "80");
iu.addParam("UploadThumbnail3JpegQuality", "100");
iu.addParam("UploadThumbnail3ResizeQuality", "Medium");



These works fine, except that I wanted the Fit to actually fit the picture in a square, but instead it just cuts the bigger size to its set max.

I'm also aware that ResizeQuality = Medium is Default (I used High before but changed it in my search for the phenomenan that makes the file larger)

Any Ideas?

Edited by user Saturday, February 23, 2008 9:43:52 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Sunday, September 2, 2007 12:31:55 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Original file is send if several conditions are met. One of these conditions is that image does not have to be rotated. Rotated image will be recompressed and as you have specified the Jpeg quality to 100 the thumbnail file size could be larger than the original file size.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest
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.