Skip to content

Issue #145: Export paths with PSD files

Alx Sa requested to merge alxsa-psd-paths-export into master

This patch attempts to resolve the issue noted in #145 (closed), and export paths as part of the PSD export.

The relevant code already exists in /plug-ins/file-tiff/file-tiff-save.c. This patch ports two functions from that file; save_paths () and its helper method double_to_psd_fixed (). Minimal changes were made to save_paths () to remove TIFF-specific information, save to GOutputStream and reduce the number of parameters required. No changes were made to double_to_psd_fixed ().

Paths created in GIMP can be opened and edited in Photoshop, as seen here: image

Merge request reports