Rank: Member
Groups: Guest
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
|
|
|
|
Rank: Advanced Member
Groups: Guest
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 |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 5/11/2005(UTC) Posts: 14
|
Thanks very much for this quick solution. It works perfectly!
|
|
|
|
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.