VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456789[10] ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 08:41:10 05/15/00 Mon
Author: Peter
Subject: Bitmap, SaveToFile and ImageFormat

If I save a TBitmap with ImageFormat ifGray256 as File and
reopen it, than the ImageFormat is a ifColor256.

if ImageScrollBox.Graphic.ImageFormat = ifGray256 then showmessage('Yes its gray');
ImageScrollBox.SaveToFile(BMPFile);
ImageScrollBox.LoadFromFile(BMPFile,0);
if ImageScrollBox.Graphic.ImageFormat = ifColor256 then showmessage('Why is it Color?');

Peter

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.