# PSD Layer Inspector & Lumina Import > Read a PSD or PSB layer tree and metadata, and turn it into an editable Lumina design. Upload a Photoshop PSD or PSB file to see its size, color mode, bit depth, resolution, color profile and every layer with groups, visibility, opacity, blend mode, clipping, masks, text and effects. Download the merged image as PNG and a Lumina Design Layers project with the layers as editable image layers, plus a list of everything that had to be simplified. The file is uploaded to the server; Lumina Design Layers imports PSD files locally in your browser. Part of usefulweb.app (https://usefulweb.app/). Part of [Lumina](https://lumina.usefulweb.app/) (ownerApp: lumina). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://luminapsdinfo.usefulweb.app/ (interactive tool at https://luminapsdinfo.usefulweb.app/tool) - JSON API: POST https://luminapsdinfo.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://luminapsdinfo.usefulweb.app/api/v1/tool) - OpenAPI: https://luminapsdinfo.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://luminapsdinfo.usefulweb.app/mcp - tool `lumina_psd_info` ## Inputs - file (file, required): Photoshop file (PSD or PSB; up to 50 MB; uploaded to the server) - import (select): Lumina design download ## Method - The reader follows Adobe’s published file format: header (PSD version 1, PSB version 2 with 8-byte lengths), color mode data, image resources (resolution, ICC profile, version info), layer and mask information (layer records, Unicode names, opacity, visibility, blend mode, clipping, section dividers for groups, layer masks, tagged blocks) and the merged image. Raw, RLE (PackBits), ZIP and ZIP-with-prediction channels are decoded. - 8- and 16-bit RGB and grayscale are read directly; 16-bit samples are rounded to 8 bits (v / 257). CMYK is converted with the simple formula R = (1 − C)(1 − K) without the color profile; indexed and bitmap files become RGB; duotone becomes grayscale. Lab, multichannel and 32-bit files are listed but their pixels are not decoded. - For the Lumina design the document is scaled (box filter over pixel centres, alpha-weighted) to at most 2000 pixels per side and 4 megapixels. Layer masks and clipping masks are applied to the pixels, groups become a flat list with their visibility and opacity applied, and layers are trimmed to their visible pixels. - Design Layers allows eight image layers and 24 layers: hidden layers are left out first, then the lowest layers are merged into one image with the W3C blend formulas. Blend modes other than normal, multiply, screen, overlay, darken, lighten, difference and exclusion become normal. Text, smart objects and shapes are imported as their stored pixels; adjustment layers, gradient/pattern fills and layer effects are not imported and are listed.