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
 Getting extra height on the right side of the saved jpeg image.
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Aamir

India
17 Posts

Posted - Jun 08 2023 :  13:23:58  Show Profile  Reply
Getting extra width on the right side of the saved jpeg image. if I am taking mask outside of ImageEnView. can we avoid outside extra gray color image as shown in the images? I am using ImageEn_SRC_12.0.0_XXXX.

Using this to save the image file SaveToFileJpeg()




Aamir

xequte

38682 Posts

Posted - Jun 08 2023 :  16:15:55  Show Profile  Reply
Hi Aamir

That looks like an issue. I'll need to investigate when we are back in the office in late June.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Aamir

India
17 Posts

Posted - Jun 08 2023 :  21:58:27  Show Profile  Reply
Okay. It is also increasing the width of PSD file.

Aamir
Go to Top of Page

xequte

38682 Posts

Posted - Jun 09 2023 :  02:19:36  Show Profile  Reply
OK. I assume Cropped and LayersCropped are both true:

http://www.imageen.com/help/TIELayer.Cropped.html
http://www.imageen.com/help/TImageEnView.LayersCropped.html


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Aamir

India
17 Posts

Posted - Jun 10 2023 :  05:20:29  Show Profile  Reply
NO! I have just added this before saving PSD and image. now it is woking fine. thanks: Nigel


ImageEnView1.LayersCropped := True;
SaveToFilePsd(psdfile);
ImageEnView1.LayersMergeAll();
ImageEnView1.IO.Params.JPEG_Quality := 100;
showmessage(Format('Image size: %d x %d pixels', [ImageEnView1.IEBitmap.Width, ImageEnView1.IEBitmap.Height]));
SaveToFileJpeg(extractfilepath(psdfile) + 'JPEG\' +ExtractFileName(psdfile) + '.jpg');

Aamir
Go to Top of Page

xequte

38682 Posts

Posted - Jun 10 2023 :  12:09:03  Show Profile  Reply


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: