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
 PSD Layers Not Mouse-Selectable in Photoshop After Save & Layer Position/Mask Of

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_saifi Posted - Jun 17 2026 : 14:06:01
Migrated from ImageEn 13.1.0 to 15.0.0. ran the official compatibility fixer and replaced all DLL files with ImageEn 15 64-bit versions.

ImageEn version: 15.0.0
Delphi version: XE3
OS: Windows 11
Platform: 64bit


Issue 1 — Saved PSD layers not mouse-selectable on Photoshop canvas

PSD saved by our app opens in Adobe Photoshop with all layers visible in the Layers panel, but clicking layer content on the canvas does not select it. Only the Layers panel works for selection. Suggests SaveToFilePsd writes incorrect layer bounds or hit-test metadata in ImageEn 15.

Expected: Click layer on Photoshop canvas #8594; layer selected.
Actual: Canvas clicks ignored; only Layers panel selection works.

// Save sequence used in our app
ImageEnView1.LayersCropped := True;
ImageEnView1.IO.SaveToFilePsd(Albumlocation + '\1.psd');
// Opening resulting .psd in Photoshop:
// Layers panel shows all layers correctly.
// Clicking any layer on canvas does nothing.



Issue 2 — Layer positions and masks shift after PSD load

Loading a multi-layer PSD with masks results in incorrect layer positions — some layers shift toward canvas front. Mask alignment does not match original file. Worsens after save/reload round-trip.

Expected: Layer positions and masks match original PSD.
Actual: Layers displaced; masks misaligned. Accumulates on round-trip.

// Load two PSD pages combined
ImageEnView1.IO.Params.PSD_LoadLayers := True;
ImageEnView1.IO.LoadFromFilePSD(FileNamesL[j]); // left page
ImageEnView1.IO.Params.PSD_ReplaceLayers := False;
ImageEnView1.IO.LoadFromFilePSD(FileNamesR[i]); // right page
ImageEnView1.IO.Params.PSD_ReplaceLayers := True;
// Layer positions already wrong here.
// Round-trip makes it worse:
ImageEnView1.LayersCropped := True;
ImageEnView1.IO.SaveToFilePsd(Albumlocation + '\1.psd');
ImageEnView1.LayersClear();
ImageEnView1.IO.Params.PSD_LoadLayers := True;
ImageEnView1.IO.LoadFromFilePSD(Albumlocation + '\1.psd');
// Positions shift further after reload.


Notes:
Both issues absent in ImageEn 13.1.0 with same PSD files and code.
Reproducible across multiple PSD files consistently.

5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 19 2026 : 18:10:26
Hi

Can you email me for the latest beat which resolves the issue.

Nigel
Xequte Software
www.imageen.com
Aamir_saifi Posted - Jun 19 2026 : 07:07:50
Yes, the PSD file is fully editable when opened directly in Photoshop. However, when I load the same file into your Layer.exe demo application and save it as a PSD, all layers are preserved, but the resulting file is no longer fully editable in Photoshop.

Could you please provide more details about this issue or let me know if there are any specific save options required to preserve full layer editability in Photoshop?
xequte Posted - Jun 18 2026 : 22:10:17
Can you you try this file:

attach/xequte/202661822925_out1501.psd

And let me know if it resolves the issue.

Nigel
Xequte Software
www.imageen.com
Aamir_saifi Posted - Jun 18 2026 : 01:52:12
Issue 1 is still not resolved. I reproduced it in the official ImageEn demo (layer.exe) — simply load a PSD and save it again. The saved file has the same problem in Photoshop. Sample file attached. Please focus on Issue 1 first; will follow up on Issue 2 once this is resolved.



attach/Aamir_saifi/202661815326_File for issue 1.zip
95.32 KB
xequte Posted - Jun 17 2026 : 16:09:57
Hi

1. So the layers are being exported, but they are not selectable in Photoshop?

Can you check whether the layers in ImageEn are selectable and not locked?

http://www.imageen.com/help/TIELayer.Selectable.html
http://www.imageen.com/help/TIELayer.Locked.html


2. Can you send us or post a sample PSD file.

Nigel
Xequte Software
www.imageen.com