LSR Image Set
The graphical image files for the named images of an image stack layer.
Extension
.imageset
Folder Contents
HEIF
(High Efficiency Image Format), .png
, .jpg
, and .pdf
files.
Contents.json File
Metadata, file type, idiom, and scale (Table 32-1).
Key |
Type |
Description |
---|---|---|
|
Dictionary |
Versioning information for the image set. |
|
String |
Use your bundle ID.
LSR files generated by Xcode use |
|
Number |
The format version of the LSR file. Use |
|
Dictionary |
Properties for the image set. |
|
Array of dictionaries |
The images in the image set. |
|
String |
The name of the image file. |
|
Slot component |
The device type for the image. Use |
|
Slot component |
The scale of the image. Use |
Sample Contents.json File
{
"info" : {
"author" : "com.developerName",
"version" : 1
},
"images" : [
{
"filename" : "llama.png",
"idiom" : "universal",
"scale" : "1x"
},
]
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09