ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Creating a TIFF file without AttachedBitmap
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hckr

Trinidad and Tobago
4 Posts

Posted - Aug 03 2015 :  03:35:11  Show Profile  Reply
I would like to create a TIFF file whose params are defined but without an "AttachedBitmap" using ImageEn. I have tried to assign AttachedBitmap to nil, however, it caused an error and could not create the file correctly.

Is it possible with ImageEn to create a TIFF file without an AttachedBitmap?




Thanks in advance.
hckr

xequte

38514 Posts

Posted - Aug 03 2015 :  19:59:04  Show Profile  Reply
Hi

I think you are misunderstaning the purpose of AttachedBitmap (or I am misunderstanding your intentions). For a TImageEnView the AttachedBitmap point to the bitmap object that holds the TIFF image itself.

Are you attempting only to edit the Params of a TIFF without changing its image content?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

hckr

Trinidad and Tobago
4 Posts

Posted - Aug 04 2015 :  03:54:14  Show Profile  Reply
Hi

I would like to create a TIFF file with a big size on disk without filling it using ImageEn. Then I will fill the TIFF file using another software. That is my intention.

hckr
Go to Top of Page

xequte

38514 Posts

Posted - Aug 05 2015 :  18:37:03  Show Profile  Reply
Hi

So you want to create a blank TIFF with ImageEn? Even if an image is blank you will still need a bitmap to handle it. You can do it non-visually:

bmp := TIEBitmap.Create(1000, 1000, ie24RGB);
bmp.write( 'D:\blanktiff.tiff' );
bmp.free;



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

hckr

Trinidad and Tobago
4 Posts

Posted - Aug 06 2015 :  13:09:44  Show Profile  Reply
That solves my problem.
Thanks.
hckr
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: