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
 Saving JPG file
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jeffp

USA
42 Posts

Posted - Oct 22 2024 :  21:29:03  Show Profile  Reply
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

xequte

38610 Posts

Posted - Oct 23 2024 :  03:34:24  Show Profile  Reply
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
Go to Top of Page

jeffp

USA
42 Posts

Posted - Oct 23 2024 :  08:19:51  Show Profile  Reply
I was using ImageEnMView.MIO.SaveToFile.

It does work with ImageEnView1.IO.SaveToFile

jp
Go to Top of Page

xequte

38610 Posts

Posted - Oct 23 2024 :  17:15:02  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: