Skip to content

PSD: Support to QImageIOHandler::Size option

The handler read the size of the image from the image header, and return this size from option() as a QSize.

    QImageReader reader("image.psb");
    auto size = reader.size();
    if(size.width() < 30000 && size.height() < 30000) {
        auto image = reader.read();
        ...
    }
Edited by Mirco Miranda

Merge request reports

Loading