Search found 3 matches

by ckress
Wed Dec 12, 2007 6:32 pm
Forum: GFL SDK
Topic: MaskColor not detected/wrong on loading GIF?
Replies: 0
Views: 1299

MaskColor not detected/wrong on loading GIF?

Reading the MaskColor after loading a GIF returns the wrong value, i.e. white instead of black. Is there a known bug using this property under GflAX DLL 2.60- GFL 2.70 (Light)?

<Language>
<%
var m_Path = Server.MapPath("/temp");
var input = m_Path + "\\input.gif";
var output = m_Path + "\\output ...
by ckress
Wed Dec 12, 2007 1:32 pm
Forum: GFL SDK
Topic: Loading GIF, removing transparency, saving JPG
Replies: 2
Views: 3387

Hmm, is it possible then to open a GIF, set the background color to white and save it to GIF again, now without transparency?
From there I could convert it to JPG.

Is that possible? I don't know how to use UseTransparency, BackColor and MaskColor to achieve this.
by ckress
Tue Dec 11, 2007 10:44 pm
Forum: GFL SDK
Topic: Loading GIF, removing transparency, saving JPG
Replies: 2
Views: 3387

Loading GIF, removing transparency, saving JPG

Hi everyone,

I'd like to load a transparent GIF, remove its transpareny information and save it as a JPG with background color set to white.

Using GflAX 2.60 - GFL 2.70 (Light) and ASP/JScript, I've tried this:

var o = Server.CreateObject("GflAx.GflAx");
o.EnableLZW = true;
o.LoadBitmap(Server ...