ImageChunkSize
public enum ImageChunkSize : Int
Constants indicating chunk size of an image to download.
The segment of JPG format has not fixed size because it has variable meta data. So you can specify the data size to be downloaded by passing chunk size as an argument.
In most cases, you can get the size of an image with the initial value, but if you can not get the correct size, please specify a larger chunk size.
-
100 Bytes
Declaration
Swift
case small = 100
-
1,000 Bytes (1 Kilo Bytes)
Declaration
Swift
case medium = 1000
-
10,000 Bytes (10 Kilo Bytes)
Declaration
Swift
case large = 10000
-
50,000 Bytes (50 Kilo Bytes)
Declaration
Swift
case extraLarge = 50000
-
100,000 Bytes (100 Kilo Bytes)
Declaration
Swift
case huge = 100000