• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - mjoyner@vbservices.net

1
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:

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
SMF spam blocked by CleanTalk