<CFFILE> will allow you to upload files, be sure you have your properties tag right. http://www.openbluedragon.org/manual/?/tag/CFFILE
<CFIMAGE> also works for changing the format of the image. http://wiki.openbluedragon.org/wiki/index.php/CFIMAGE if you are trying to create a jpeg in the fly then you want to look throgh these: http://www.openbd.org/manual/?/function/imagenew Take a look at the See Also section. Unless you have the nightly build (unless they updated the current build onsite) ImagePaste() doesn't work. ----- Original Message ----- From: "Lionel Morrison" <[email protected]> To: [email protected] Sent: Thursday, February 16, 2012 7:54:53 PM Subject: Re: [OpenBD] JPEGEncoder Thanks Matt, As I said landed on my desk and I'm far from an expert. I'd love to elaborate but all I know is that there trying to upload a JPEG to a OpenBD 2 server and it isn't working. I think the code came from MX7 days which explain this as a legacy issue. Thanks Lionel On 2/16/12 1:54 PM, Matthew Woodward wrote: On Thu, Feb 16, 2012 at 8:13 AM, Lionel Morrison < [email protected] > wrote: <blockquote> JPEGCodec = createObject("java", "com.sun.image.codec.jpeg.JPEGCodec"); Pretty sure this was deprecated back in Java 5 days and from what I can see isn't included in Java anymore, so unless you have the JAR in the mix that would include that, basically you're going to want to use different libraries to accomplish what you're trying to do here. Just as an aside, I did some quick searching and there are forum threads from 5 years ago already telling people they shouldn't be using this any longer. ;-) If you can elaborate on what you're starting with and what you want to end up with that will help us point you in the right direction. Thanks. </blockquote> -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012 -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012
