I am trying to use the JAI libs to manipulate and scale jpg images from cf5 using createObject.
It works pretty good for small files, but when I try to scale a large file down, I am throwing a JVM error (out of memory). The scale itself works fine. It is the save that is running out of memory. I am trying to downscale a 2272x1702 px image to 200x150 (8.8%) It will only save when I bump the JVM up to 300MB of virtual memory. Does this make sense? How can the JVM possibly need 300MB of memory to WRITE? I know I am doing something wrong. Any ideas? Jerry Johnson ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218990 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

