gflExportIntoClipboard(): Image is upside down (Delphi)

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

daremon

gflExportIntoClipboard(): Image is upside down (Delphi)

Post by daremon »

Why does gflExportIntoClipboard() function put a flipped image in the clipboard? So i have to do:

Code: Select all

gflFlipVertical(gfl_bmp, nil);
gflExportIntoClipboard(gfl_bmp);
otherwise i get the image upside-down! Is this by design or a problem in GFL?

Thanks,
Dimitris
User avatar
xnview
Author of XnView
Posts: 44030
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: gflExportIntoClipboard(): Image is upside down (Delphi)

Post by xnview »

daremon wrote:Why does gflExportIntoClipboard() function put a flipped image in the clipboard? So i have to do:

Code: Select all

gflFlipVertical(gfl_bmp, nil);
gflExportIntoClipboard(gfl_bmp);
otherwise i get the image upside-down! Is this by design or a problem in GFL?
A :bugconfirmed:
Pierre.