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

Notification

Icon
Error

Options
Go to last post Go to first unread
sonny  
#1 Posted : Wednesday, September 19, 2007 2:57:02 AM(UTC)
sonny

Rank: Member

Groups: Member
Joined: 9/9/2006(UTC)
Posts: 22

Hi,

Is their a way thru image uploader to compress the actual file size. I dont mean the quality percentage value of the image. Currently im uploading an image and resizing it to 4 images. The quailty percentage is set to 65%. All the file size look reasonable except the 640x480 which is coming to 236765kb. Ive seen some images on the net which are the same size but 1/2 the size.

Is their anyway to do this?

thanks

Sonny

thanks in advance,

Sonny

Alex Makhov  
#2 Posted : Wednesday, September 19, 2007 1:29:22 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello Sonny,

Please see UploadThumbnail1CompressOversizedOnly property. If you set it to true the image will not be recompressed if it is smaller than desired size. It looks like you have set this property value to true.

Edited by user Sunday, February 24, 2008 5:48:02 PM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

sonny  
#3 Posted : Thursday, September 20, 2007 4:20:46 AM(UTC)
sonny

Rank: Member

Groups: Member
Joined: 9/9/2006(UTC)
Posts: 22

Hi Alex,

I havent got this property in any of my code. I assume the default is false.

In fact i did search for it:

[img_test]$ grep -l UploadThumbnail1CompressOversizedOnly *

[img_test]$

Is there another property i should set / unset?

thanks

Sonny

thanks in advance,

Sonny

Alex Makhov  
#4 Posted : Thursday, September 20, 2007 1:12:39 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello Sonny,

If you don’t use CompressOversizedOnly property there is no way to make thumbnails smaller. The idea was that you don’t actually recompress the file but send the original file but you do recompress the files. Better compression results could be in the way of using another image compression formats, JPEG2000 for example, but the only one format we use if JPEG.

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
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.