Page 1 of 1

Bad image height on some TIFF files (gflAx)

Posted: Mon Dec 05, 2005 4:18 pm
by prasse
I'm using gflAx component, and I have sometimes problems to find out the correct height of TIFF image, because the "Height" property returns only HALF height. Is it some bug or am I doing something wrong ? Here is my VB source code:

Dim g As GflAx.GflAx
Set g = New GflAx.GflAx
g.LoadBitmap ("c:/web/docshare/admin_comm.tif")
g.Page = 2
Dim x As Integer
x = g.height ' here is returned bad Y size

Re: Bad image height on some TIFF files (gflAx)

Posted: Wed Dec 07, 2005 8:16 pm
by xnview
prasse wrote:I'm using gflAx component, and I have sometimes problems to find out the correct height of TIFF image, because the "Height" property returns only HALF height. Is it some bug or am I doing something wrong ? Here is my VB source code:

Dim g As GflAx.GflAx
Set g = New GflAx.GflAx
g.LoadBitmap ("c:/web/docshare/admin_comm.tif")
g.Page = 2
Dim x As Integer
x = g.height ' here is returned bad Y size
Could you send me the tiff file?