Execute custom JavaScript in Photopea to manipulate documents and layers via the full scripting API. Access app and activeDocument objects for advanced operations beyond standard tools.
Retrieve font PostScript names from Photopea for text editing operations. Search and filter fonts by name to locate specific typefaces required for your design projects.
Load custom fonts from URLs (TTF, OTF, WOFF2) into Photopea to expand typography options for text editing. Enables unique font styling in graphic design projects.
Open existing image files from URLs or local paths in Photopea as editable documents. Supports PSD, PNG, JPG, WebP, and SVG formats to import graphics for immediate editing.
Remove the active selection and marching ants from your Photopea document. Clear selections after completing fill operations or edits without altering pixel data.