Bug in GFLRotate

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

Moderators: helmut, XnTriq, xnview

Post Reply
plamark
Posts: 4
Joined: Tue Feb 22, 2005 9:16 pm

Bug in GFLRotate

Post by plamark »

I've discovered that after using gflRotate with rotation degrees which are not a an even multiple of 90 (90, 180, 270, 360), that the Xdpi and Ydpi data members of the GFLBitmap structure are set to zero after execution of the function. Try rotating an image by 45 degrees and then examine the GFLBitmap structure and you'll see what I mean. I am using version 2.54.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Bug in GFLRotate

Post by xnview »

plamark wrote:I've discovered that after using gflRotate with rotation degrees which are not a an even multiple of 90 (90, 180, 270, 360), that the Xdpi and Ydpi data members of the GFLBitmap structure are set to zero after execution of the function. Try rotating an image by 45 degrees and then examine the GFLBitmap structure and you'll see what I mean. I am using version 2.54.
Strange, send me an email, and i'll send you an update...
Pierre.
Post Reply