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
 open and save the file with the same size as the original

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
AndNit Posted - May 07 2023 : 15:39:19
Hello,

When opening a Tif file in an ImageEnMView Using
imgNova.MIO.LoadFromFileTIFF
when saving that same file, without any changes it is bigger (in MB) than the original file, how can I keep the same size (in MB) of my original file?

Thanks
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 10 2023 : 19:17:55
Hi

This TIFF image is using JPEG compression, so its saving size is determined by the JPEG Quality property:

https://www.imageen.com/help/TIOParams.TIFF_JPEGQuality.html

However JPEG is lossy format, so you should not re-save unless necessary. If you are only modifying some of the images of the TIFF, then you are better to just update the TIFF file with the changed images, rather than resaving the whole file:

http://www.imageen.com/help/TImageEnIO.InsertToFileTIFF.html

Nigel
Xequte Software
www.imageen.com
AndNit Posted - May 10 2023 : 05:50:40
Here's an example, remembering that I open the images through an ImageEnMView.


https://drive.google.com/drive/folders/1e5xqNrcVEOQRV-xiiG8DCzkvZetLCay6?usp=share_link

Thanks
xequte Posted - May 07 2023 : 20:54:11
Hi

ImageEn should save a TIFF identical to how it is loaded. The exception would be where it uses a compression that cannot be supported when saving.

There was also an issue before v12.0.0 where an Alpha channel could trigger the changing of the compression method.

Can you link to the file so I can test it.



Nigel
Xequte Software
www.imageen.com