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
- appStoreCreativeImageRules → const StoreImageRules
- Apple, for the creative assets — the product page header and the search results image, uploaded through the App Asset Library.
- 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
rulesrefuse aboutimage'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
bytesis neither.