Rank: Newbie
Groups: Member
Joined: 4/17/2014(UTC) Posts: 3
|
HI all,
I need help on image resizing before uploading them to server. Suppose i have images which i have to print on size of 4X6, 8X12, 20X20. what will be the best way for resizing for each type of images without deteriorating the print Quality?
Thanks Samir
|
|
|
|
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 optimal image size depends on two factors: physical dimensions you need and the printer resolution (DPI, i.e. how many pixels will be used to produce one inch).
For example, you are going to print it with 300DPI resolution and the image size is 4x6 inches. It means that it does not make sense to have an image larger than 300*4x300*6 = 1200x1800 pixels.
Hope this helps.
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 4/17/2014(UTC) Posts: 3
|
hi andrew,
Is there a way where i can reduce only the image quality on the client side before the image is uploaded? Example demonstrated shows image cropping before upload, Is there a way i can set image quality to 60 before the images are uploaded?
Thanks in Advance Samir
|
|
|
|
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)
|
Yes, you can. You can use the fit mode called ActualSize. It means that it will recompress JPEG, but no resize is applied. It should look like this: Code:var u = $au.imageUploaderFlash({
id: 'Uploader1',
converters: [{mode: '*.*=Thumbnail',
thumbnailJpegQuality: 60,
thumbnailFitMode: 'ActualSize'}]
});
u.writeHtml();
Hope this helps. Edited by user Thursday, April 24, 2014 7:15:16 PM(UTC)
| Reason: Initially I have inserted code snippet for activex/java rather than html5/flash
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 4/17/2014(UTC) Posts: 3
|
hi andrew,
i am using activex/java since uploading to s3 with flash/html5 is not possible, can u send me code for activex/java
thanks
|
|
|
|
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.