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
 LayersSaveMergedTo file extension

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
WIZZs Posted - Nov 22 2018 : 02:13:34
Hi,

In the ImageEnView1 different formats of images can be loaded. Suppose I load a BMP of JPG file into the background layer.

What will happen if I would save the file as:
ImageEnView1.LayersSaveMergedTo( 'd:\Merged.png' );
OR
ImageEnView1.LayersSaveMergedTo( 'd:\Merged.tif' );
Without using the SaveImageEnDialog

Will the file internally be an actual PNG-file of TIF-file, or will it still be in the original internal format (f.e. BMP) and is only the file-extention changed in the name of the file?

Thanks!
3   L A T E S T    R E P L I E S    (Newest First)
WIZZs Posted - Nov 22 2018 : 22:30:30
Great. I only load bmp, png, jpeg images and only save to PNG. Most important is that the PNG is saved as an actual PNG internally and I've tested it by opening the file in a few other imageeditors. It works perfectly. Thanks.
xequte Posted - Nov 22 2018 : 20:24:58
As Wesley indicated, saving to a different image format does not change the in-memory bitmap in any way except for updating the filetype and filename properties.



Nigel
Xequte Software
www.imageen.com
wesleybobato Posted - Nov 22 2018 : 10:18:12
Hi Wizzs

Example

If you load a JPEG and Save to PNG the JPEG information will not be preserved and the output file will be a PNG.

It does not do much feeling to store all JPEG metadata if you need a PNG.

Example A TIFF with many pages should be saved in PNG page by Page.

The input parameters are used to determine the output.

To preserve the input you need to create a output with the same format as the input.

You can use the IEV Format to keep several different entries and preserve all information.

Kind regards.