Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
CatInaHat  
#1 Posted : Monday, July 19, 2010 2:13:28 AM(UTC)
CatInaHat

Rank: Member

Groups: Member
Joined: 5/11/2005(UTC)
Posts: 14

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!

Edited by user Monday, July 19, 2010 2:15:13 AM(UTC)  | Reason: Not specified

File Attachment(s):
tifError.zip (12kb) downloaded 5 time(s).
Dmitry.Obukhov  
#2 Posted : Monday, July 19, 2010 7:25:37 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
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:
Code:

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.

Edited by user Tuesday, July 20, 2010 12:02:21 PM(UTC)  | Reason: Not specified

File Attachment(s):
TIF_To_SWF.zip (1,918kb) downloaded 5 time(s).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
CatInaHat  
#3 Posted : Monday, July 19, 2010 10:32:57 PM(UTC)
CatInaHat

Rank: Member

Groups: Member
Joined: 5/11/2005(UTC)
Posts: 14

Thanks very much for this quick solution. It works perfectly!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.