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
 Saving JPG file

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
jeffp Posted - Oct 22 2024 : 21:29:03
I'm having trouble saving changes to a jpg file. See attached file.

I rotate the file and then save, but the change doesn't save. Is there a setting I'm missing for saving JPG changes?

attach/jeffp/20241022212859_apple 01.zip
6.9 KB

jp
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 23 2024 : 17:15:02
Hi Jeff

TImageEnMIO can only save to multi-frame formats, like TIFF, GIF, PDF, etc. Saving to a single frame format, such as JPEG, will result in an error (Aborting will return true).

http://www.imageen.com/help/TImageEnMIO.SaveToFile.html

To save single frames of a TImageEnMView you can use GetImageToFile:

http://www.imageen.com/help/TImageEnMView.GetImageToFile.html


Nigel
Xequte Software
www.imageen.com
jeffp Posted - Oct 23 2024 : 08:19:51
I was using ImageEnMView.MIO.SaveToFile.

It does work with ImageEnView1.IO.SaveToFile

jp
xequte Posted - Oct 23 2024 : 03:34:24
Hi Jeff

I'm out of the office until the start of November, so I cannot check this image at present.

Are you just using ImageEnView1.IO.SaveToFile() to save the image?

Nigel
Xequte Software
www.imageen.com