Hello,
Thanks for this library!
Downloaded the latest "working" and all the images I load and save have the red and blue channels swapped.
If I put this:
It seems to help.
I am Ubuntu, X64, Lazarus 0.9.30.2-0, FPC Version: 2.4.4, GTK2
Thanks for this library!
Downloaded the latest "working" and all the images I load and save have the red and blue channels swapped.
If I put this:
Code (pascal) Select
image.LoadFromFile(Filename);
{basic transforms to ensure internal consistancy}
ConvertImage(image.ImageDataPointer^, ifA32R32G32B32F);
{work around Blue/Red channel swap bug}
image.SwapChannels(ChannelRed, ChannelBlue);
It seems to help.
I am Ubuntu, X64, Lazarus 0.9.30.2-0, FPC Version: 2.4.4, GTK2