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
 PSD Layers Not Mouse-Selectable in Photoshop After Save & Layer Position/Mask Of
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Aamir_saifi

India
3 Posts

Posted - Jun 17 2026 :  14:06:01  Show Profile  Reply
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.

xequte

39450 Posts

Posted - Jun 17 2026 :  16:09:57  Show Profile  Reply
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
Go to Top of Page

Aamir_saifi

India
3 Posts

Posted - Jun 18 2026 :  01:52:12  Show Profile  Reply
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
Go to Top of Page

xequte

39450 Posts

Posted - Jun 18 2026 :  22:10:17  Show Profile  Reply
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
Go to Top of Page

Aamir_saifi

India
3 Posts

Posted - Jun 19 2026 :  07:07:50  Show Profile  Reply
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?
Go to Top of Page

xequte

39450 Posts

Posted - Jun 19 2026 :  18:10:26  Show Profile  Reply
Hi

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

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