1 (edited by Margie 2017-02-06 23:58:56)

Topic: Resizing images

I'm using Simpleviewer Pro V.2. I get this error message when trying to create a new gallery:

"Error resizing image photo1.jpg. Possible the image is too large or invalid. Image must be smaller than 4095 x 4095 pixels."

Do not get the message on every image only random ones - have resized all the images 3 times, still get same error.

Have not had this problem in the past. My computer has just been upgraded to Windows 10.

Does anybody know how to fix this?

Re: Resizing images

Unfortunately, this is a limitation of Adobe AIR (the platform on which svBuilder-Pro runs) and there is no way around the problem (other than to resize your images first).

Adobe AIR uses Adobe Flash Player as its runtime environment and the largest image size which Adobe Flash Player can handle is 16,777,215 pixels. This equates to a square image of 4095 x 4095. Please see this web page for details.

If you have images larger than 4095 x 4095, then you'll need to resize them in an imaging program (such as Adobe Photoshop) before feeding them to svBuilder-Pro to create your gallery.

There are, however, other methods of creating SimpleViewer galleries which you might like to try which do not have this image size limitation. A list of other ways to create SimpleViewer galleries can be found here.

If you find that you still see this error message for an image of less than 16,777,215 pixels, please upload it somewhere and provide a download link so that I can try to replicate the problem myself and hopefully help further.

Also, if you are trying to add many images at once, Adobe AIR may not be able to allocate enough memory for the task at hand. Even if your computer has plenty of free RAM, Adobe AIR applications are limited to around 1GB of memory allocation. Try adding your images in smaller batches to see if this helps.

I realise that this may not solve your issue but I hope that it at least explains the nature of the problem.

Steven Speirs
SimpleViewer Support Team

3 (edited by Margie 2017-02-07 05:18:57)

Re: Resizing images

Many thanks Steven for your reply and explanations.  I'll give adding my images in smaller batches a go and see if this helps.


Re: Resizing images

You're welcome.
Hopefully double-checking your image resolutions (and resizing them first if necessary) and adding your images in small batches will help.

Steven Speirs
SimpleViewer Support Team