Check PSD Features With Output

PSD Image Validation

Writes a message with a list of unsupported features.

Сode Snippet

using (var psdReader = new PsdReader("UnsupportedFeatures.psd"))
{
    var renderSupportedFeatures = new PsdFeature[]
    {
        PsdFeature.LayerTypeRaster,
        PsdFeature.BlendModeNormal,
        PsdFeature.ColorModeRgb,
        PsdFeature.ChannelSize8bit,
    };

    string output = string.Empty;
    psdReader.CheckFeatures(renderSupportedFeatures, ref output);

    Console.WriteLine(output);
}

Input

UnsupportedFeatures.psd

Download

Output

CheckPsdFeaturesWithOutput.txt

Bevel and emboss effect is not supported.

For AI-assisted development: Download Graphics Mill Code Samples XML Catalog