store_image library

Classes

ImageInfo
What a screenshot has to satisfy, read straight out of the file header.
StoreImageRules
What one store accepts in the encoding of a listing image.

Enums

ImageFormat
Which container a header came out of.

Constants

appStoreImageRules → const StoreImageRules
Apple, for every screenshot.
playIconImageRules → const StoreImageRules
Play's app icon, the exception in both directions: it is the one slot that asks for an alpha channel, and it is still 8 bits per channel.
playImageRules → const StoreImageRules
Play, for screenshots, the feature graphic and the TV banner — every slot this package checks but the icon. (Play's Android XR slot says only "PNG or JPEG"; nothing here uploads to it.)

Functions

imageEncodingProblem(ImageInfo image, StoreImageRules rules) String?
What rules refuse about image's encoding, as a sentence to follow the file's name, or null when nothing does.
readImageInfo(List<int> bytes) ImageInfo?
Dimensions, transparency and bit depth of a PNG or JPEG, or null if bytes is neither.