T O P I C R E V I E W |
pierrotsc |
Posted - Oct 03 2014 : 05:40:44 I have legacybitmap set to true but can i still use statements ;ike iamgeenvect.iebitmap.width or is it better to use imageenvect.bitmap.width since legacybitmap is true. thanks. Pierre |
8 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Oct 18 2014 : 16:07:56 Sorry, that is a typo. It is fixed in the latest update.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
Fishous |
Posted - Oct 16 2014 : 03:19:17 I'm wondering why the help file for LegacyBitmap says "Note: LegacyBitmap should be set to true for new applications."? |
pierrotsc |
Posted - Oct 03 2014 : 17:55:27 Will do then. Thanks |
xequte |
Posted - Oct 03 2014 : 17:50:43 Hi Pierre
Yes, it is better to set LegacyBitmap to false, then it uses ImageEn's IEBitmap, instead of a regular TBitmap. IEBitmap is much more memory efficient, particularly with large images.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
pierrotsc |
Posted - Oct 03 2014 : 09:59:13 that does work. Thanks. Is there any advantages of having the legacybitmap set to false? Pierre |
w2m |
Posted - Oct 03 2014 : 08:29:41 Maybe try ImageEnVect.IEBitmap.VclBitmap. I have not tested this however but I think I used it a few times.
property VclBitmap: TBitmap;
Description Contains the encapsulated TBitmap object.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
pierrotsc |
Posted - Oct 03 2014 : 06:13:37 thanks..so i am am assuming that when you set legacybitmap to false, you are saving memory space because no bitmap are loaded. in this case, if i need a bitmap from an iebitmap, is there a way to get that? i am using graphics 32 in one of my computation and i cannot assign an iebitmap to a bitmap 32. in this case, i would like to be able to convert the iebitmap to a bitmap with legacybitmap to false. is that feasible? thanks Pierre |
w2m |
Posted - Oct 03 2014 : 05:50:26 It would only be "better" to use IEBitmap if LegacyBitmap is false, because there will not be a Bitmap in the Bitmap property. If you set LegacyBitmap to true then you can use either because there will be a IEBitmap and a Bitmap.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |