This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

SWF file problem

We have an intermittent problem, where the SWF thumbnails we make of user-uploaded images, fail to show any content at all. The source images are Tiff files.

I have attached 5 files:
The script to produce the error,
A source image and its resulting (erroring) file (OrangeStrip1.tif and OrangeStrip1.swf)
A source image and its correct resulting file (OrangeStrip2.tif and OrangeStrip2.swf)

You will see that the only difference in the source files, is that a few different colours are being used.

Do you have any idea of a work-around?

Thanks!

Attachments

Hello,

Thanks for contacting us.

I have reproduced your problem. This is a bug. The problem is caused by Zip compression type of SWF. This type is set by default. If we set compression type to Jpeg, SWF file will be saved properly:

Aurigma.GraphicsMill.Codecs.SwfEncoderOptions options = new Aurigma.GraphicsMill.Codecs.SwfEncoderOptions();
options.Compression = Aurigma.GraphicsMill.Codecs.CompressionType.Jpeg;


I corrected your code and attached the sample.

Attachments

Thanks very much for this quick solution. It works perfectly!