Exception when loading jpg image file

Exception when loading jpg image file

Forum member · Mar 2, 2006
Hi there, I'm using the generator to add user-uploaded jpg images and text to construct to pages in a PDF. Some of the jpg's fail when using this code: img = new Image( fileName, x, y ); I get an "Index was outside the bounds of the array" exception. The image-file seems ok, i've checked properties: height, width and dpi are valid. Do You have any idea as to why I get the exception ?

Re: Exception when loading jpg image file

Support · Mar 2, 2006
Hello, Can you please send us over the image that you are trying to add at [^a|mailto:support@cete.com|Support^], so that we can take a look at it and see what is causing the exception to be thrown? Thanks, ceTe Software Support Team