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
 Getting extra height on the right side of the saved jpeg image.

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
Aamir Posted - Jun 08 2023 : 13:23:58
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
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 10 2023 : 12:09:03


Nigel
Xequte Software
www.imageen.com
Aamir Posted - Jun 10 2023 : 05:20:29
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
xequte Posted - Jun 09 2023 : 02:19:36
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
Aamir Posted - Jun 08 2023 : 21:58:27
Okay. It is also increasing the width of PSD file.

Aamir
xequte Posted - Jun 08 2023 : 16:15:55
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