scaling tifffsscaling tifffsWin IE 6 J1.6
Tiff images are not being scalled. They are uploaded in their original size Scaling props: maxwidth=500 maxheight=500 scaleoption=fitaspectratio quality=0.5 renamepolicy=rename extensions=jpg,jpeg,jpe,png,bmp,tif,tiff,pnm,raw forcergb=true impl=ImageIO outformat=jpg enable=true Thank you Re: scaling tifffsI've added a whitelist...
document.write('whitelist = "*.jpg, *.JPG, *.jpe, *.JPE, *.jpeg, *.JPEG, *.bmp, *.BMP, *.tif, *.TIFF, *.tiff, *.TIFF, *.pnm, *.PNM, *.raw, *.RAW" '); Browsing this file with the applet, it is not listed now. It is a scanned image using Office XP plugin. It seems it only opens in the Microsoft® world (the ONLY one!!) Photoshop on Mac says "Could not complete the request because the TIFF files uses an unsopported compression method). Linux image viewers cannot open them either. (They are from another planet, maybe Saturn...! On Earth you have to live in Microsoft® realm!!) Re: scaling tiffsAre you using ImageIO library with JImageFilter ? It is required for TIFF support.
You have a sample: applet_ftp_scaling_iotools.html in JImageFilter package. Re: scaling tifffsOnly jpgs are listed in applet file browsing.
These are involved settings. Code: Select all
Re: scaling tifffsAnd you have the following in scaling.properties:
extensions=jpg,jpeg,jpe,png,bmp,tif,tiff,pnm,raw Do you have an URL I could check from here with the applet ? Re: scaling tifffsapplet_http.php
It only contents the js... Is this enough or do you need the html with /lib links?
Last edited by dstonek on Tue Mar 25, 2008 12:40 am, edited 1 time in total.
Re: scaling tifffsCould you remove extra space (after each coma) in whitelist:
<PARAM NAME="whitelist" VALUE="*.jpg, *.JPG, *.jpe, *.JPE, *.jpeg, *.JPEG, *.bmp, *.BMP, *.tif, *.TIFF, *.tiff, *.TIFF, *.pnm, *.PNM, *.raw, *.RAW"> becomes: <PARAM NAME="whitelist" VALUE="*.jpg,*.JPG,*.jpe,*.JPE,*.jpeg,*.JPEG,*.bmp,*.BMP,*.tif,*.TIFF,*.tiff,*.TIFF,*.pnm,*.PNM,*.raw,*.RAW"> Close all browser windows and try again. Re: scaling tifffsI was able to resize-upload 8MB files in TIFF AND BMP but the upload started without resampling on 8MB Photoshop RAW created image and 56MB Tiff one.
Re: scaling tifffs8MB ... what were the dimension of image ? More than 3000x3000 ? You may had on a memory issue.
Do you have any error ? See troubleshooting: http://www.jfileupload.com/products/jfi ... oting.html See memory workaround at: http://www.jfileupload.com/products/jim ... aq.html#18 Re: scaling tifffs2000x1346 the tiff file w/o compression, same as bmp I could upload
I didn't get any error msg. RAM = 2Gb, 1Gb in use and 1Gb cached |