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.
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.
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?