Rank: Member
Groups: Member
Joined: 3/14/2008(UTC) Posts: 16
|
I am having problem to resize Jpegs. I have these lines of code
iu.addParam("FilesPerOnePackageCount", "1"); iu.addParam("MaxFileCount", maxFileCount); iu.addParam("MaxFileSize", maxFileSize); iu.addParam("MinImageHeight", "1"); iu.addParam("MinImageWidth", "1");
//upload thumbnail settings iu.addParam("UploadThumbnail1CopyExif", "true"); iu.addParam("UploadThumbnail1CopyIptc", "true");
iu.addParam("UploadThumbnail1JpegQuality","90"); iu.addParam("UploadThumbnail1FitMode", "Width"); iu.addParam("UploadThumbnail1Width", "600"); iu.addParam("UploadThumbnail1FallbackMode", "SourceFile");
In Java version, when I have gifs, pngs and jpeg in the same folder( My pictures). The jpegs are not resized properly. It always resizes to 160x120 size. The png and gifs upload the actual size which is right. I just want to resize jpegs. When I remove all the gifs and pngs from the folder I am uploading then the jpegs upload fine. Any info would be helpful.
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.