Thanks that seems to work fine!
So in LibGFL.pas 3 lines need changing.
Starting Line 135, Alpha added:
// Color
type PGFL_COLOR = ^TGFL_COLOR;
TGFL_COLOR = record
Red: GFL_UINT16;
Green: GFL_UINT16;
Blue: GFL_UINT16;
Alpha : GFL_UINT16;
end;
Starting Line 542, PGFL_COLOR changed ...
Search found 9 matches
- Sat Feb 11, 2006 10:42 pm
- Forum: GFL SDK
- Topic: Delphi AV When Using gflGetColorAt
- Replies: 15
- Views: 6638
- Fri Feb 03, 2006 3:08 pm
- Forum: GFL SDK
- Topic: Delphi AV When Using gflGetColorAt
- Replies: 15
- Views: 6638
- Thu Feb 02, 2006 4:32 pm
- Forum: GFL SDK
- Topic: Delphi AV When Using gflGetColorAt
- Replies: 15
- Views: 6638
- Wed Feb 01, 2006 8:03 pm
- Forum: GFL SDK
- Topic: Delphi & Maskcolor/Usetransparency
- Replies: 4
- Views: 2089
- Wed Feb 01, 2006 7:54 pm
- Forum: GFL SDK
- Topic: Delphi AV When Using gflGetColorAt
- Replies: 15
- Views: 6638
You mean have two source images, one being the mask and the other the actual graphic? If so unfortunately that's not really practical as I'll want to convert 1000+ toolbar images all of which are BMP's with #FF00FF backgrounds.
Or is there a way to do this using your library? Couldn't find anything ...
Or is there a way to do this using your library? Couldn't find anything ...
- Wed Feb 01, 2006 7:41 pm
- Forum: GFL SDK
- Topic: Delphi & Greyscaling Alpha Blended PNG's
- Replies: 4
- Views: 2157
- Wed Feb 01, 2006 12:26 am
- Forum: GFL SDK
- Topic: Delphi AV When Using gflGetColorAt
- Replies: 15
- Views: 6638
- Tue Jan 31, 2006 7:19 pm
- Forum: GFL SDK
- Topic: Delphi & Greyscaling Alpha Blended PNG's
- Replies: 4
- Views: 2157
Delphi & Greyscaling Alpha Blended PNG's
Hello again,
I'm stuck with another problem. I'm trying to greyscale and then lighten using Gamma correction an alpha-blended PNG image. I then want to save it out as a greyscaled alpha-blended png.
I've tried using the LoadParam ColorModel := GFL_GREY, but the output is still coloured but ...
I'm stuck with another problem. I'm trying to greyscale and then lighten using Gamma correction an alpha-blended PNG image. I then want to save it out as a greyscaled alpha-blended png.
I've tried using the LoadParam ColorModel := GFL_GREY, but the output is still coloured but ...
- Sun Jan 29, 2006 7:53 pm
- Forum: GFL SDK
- Topic: Delphi & Maskcolor/Usetransparency
- Replies: 4
- Views: 2089
Delphi & Maskcolor/Usetransparency
Hello
I'm writing a small utility in Delphi 5 that converts BMP toolbar images I've created in various ways. As you probably know the colour bottom left pixel defines what counts as transparent. I use RGB FF00FF, so all pixels that are that colour apear transparent in the toolbar.
The first test ...
I'm writing a small utility in Delphi 5 that converts BMP toolbar images I've created in various ways. As you probably know the colour bottom left pixel defines what counts as transparent. I use RGB FF00FF, so all pixels that are that colour apear transparent in the toolbar.
The first test ...