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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 loading IOParamsVals

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
rswyman@docuxplorer.com Posted - May 07 2015 : 21:47:28
Hi All,

ImageEnIO := TImageEnIO.CreateFromBitmap(ABitmap);
ImageEnIO.Params.?

What params are assigned via the TImageEnIO component?
for example is IOParamsVals.TIFF_Compression assigned?

Thanks
Ron
5   L A T E S T    R E P L I E S    (Newest First)
rswyman@docuxplorer.com Posted - May 11 2015 : 12:46:34
Thanks All!
xequte Posted - May 11 2015 : 00:27:30
Also, when loading and saving TIEBitmaps you can also pass a TIOParamVals object to get/set the parameters:

http://www.imageen.com/help/TIEBitmap.Read.html
http://www.imageen.com/help/TIEBitmap.Write.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - May 08 2015 : 06:51:13
If you loaded ABitmap from a file into ImageEnView you can assign the ImageEnView.IO.Params to ImageEnIO.Params.
ImageEnIO.Params.Assign(ImageEnView.IO.Params);

or just assign each parameter you need:
ImageEnIO.Params.TIFF_Compression := ImageEnView.IO.Params.TIFF_Compression;

If ABitmap is assigned from memory you can modify any of the ImageEnIO.Params:
ImageEnIO.Params.Width := ABitmap.Width;
ImageEnIO.Params.Height := ABitmap.Height;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
rswyman@docuxplorer.com Posted - May 08 2015 : 06:12:38
Thanks Nigel,

Is there any way to populate the TIOParamsVals structure with a TIEBitmap?
xequte Posted - May 07 2015 : 21:56:15
Hi

When creating a TImageEnIO all Params will have the default value. Params are set when loading a file (LoadFromFile/LoadFromStream), loading the params only (ParamsFromFile/ParamsFromStream) assignment of params (Params.Assign).

So in your example above TIFF_Compression would have a default value.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com