Page 1 of 1

Bug in TPicview 3.08

PostPosted: August 11th, 2004, 2:52 pm
by stpav2
I've downloaded the version 3.08 of this component and i've a problem on
load BMP image on a paradox table.
In the version 2.8 that i used previusly i've no problem.
I look on bmp header and i discover that the correct signature on bmp
image is #$42#$4D and not #$42#$47 i correct the problem in Picview
file and the component feel good.

The correction on code that i've done is
GraphicSigns: array[1..4] of TGraphicSign = (
(*(GraphicClass: TBitmap; Offset: 0; Length: 2; Signature: #$42#$47), // BMP Error*)
(GraphicClass: TBitmap; Offset: 0; Length: 2; Signature: #$42#$4D), // BMP Ok
Please verify this if i've a strange bmp file format or it's a mistake in your code.
Thanks for your useful component Stefano P.

PostPosted: August 12th, 2004, 6:37 am
by Kambiz
You are right.

Thank you very much.

PostPosted: August 25th, 2004, 3:45 am
by Edward
Thanks.