Enumeration Caseswift-png 4.4.5PNG

    invalidHeaderPixelFormat(_:standard:)

    An IHDR chunk specified a pixel format that is disallowed according to the PNG standard used by the image.

    PNG.ParsingError.swift:31
    case invalidHeaderPixelFormat(PNG.Format.Pixel, standard: PNG.Standard)

    Parameters

    _

    The invalid pixel format.

    standard

    The PNG standard. This error is only relevant for iphone-optimized images, so library-generated instances of this error case always have this field set to ios.

    This error gets thrown when an iphone-optimized image (ios) has a pixel format that is not rgb8 or rgba8.

    Other cases