user iconAnonymous on September 5th 2013
2796 views

topic iconError saving file as gif

Hello, I'm new in here and asking for your aid on how to successfully save an image as gif... I have 20 frames of 482x277 whenever i try to save it, it would give me an error message "Saving of file failed,Please try different Location" even if i save it on other location....Why's that?

user iconcdl on September 5th 2013 0

What software program are you using?

user iconAnonymous on September 5th 2013 0

RealWorld Paint sir and i noticed when i add a frame with picture that has an opacity of more or less 50% the error occurs... u have any idea sir about the problem? Thanks in advance

user iconAnonymous on September 5th 2013 0

*error occurs when opacity is less than 50% at the last 2 frames

user iconAnonymous on September 5th 2013 0

and also i tried to save the 2 frames as a separate gif images no error occured but when i add it on the remaining 18 frames the error occurs

user iconVlasta on September 5th 2013 0

That seems like an error in the program, but what you are attempting to do would not work anyway. GIF does not support smooth transparency - a pixel in GIF file may either be completely transparent or fully opaque. GIF encoder must round the transparency value and if it is <50%, it becomes 0 = completely transparent. The whole frame would be empty (if the error did not occur).

So, you cannot have a GIF that smoothly "fades away". You can have animated PNG that does this, but animated PNG is only supported by Firefox and not other browsers. If you plan to use the GIF on a background that is known, you can workaround this problem by using "Image"->"Blend with background" command.

I'll post a fix that handles this case without error, but you'll just get an empty frame in this case.

user iconVlasta on September 5th 2013 0

So here is the fix, that will produce empty frames if opacity of every pixel is less than 50% and not report errors. You need to download RWCodecImageGIF.dll and replace the old file in the installation folder.

user iconAnonymous on September 5th 2013 0

Thank you sir Vlasta I'll try to use that .dll and see if it works thanks alot

user iconAnonymous on September 5th 2013 0

Thanks for the fix sir, I'm able to produce gif images successfully and the frames are not empty it really worked 😁 really thanks alot i've been spending more or less three hours finding a solution once again thanks

user icon