PXON is JSON representing pixel art.
There are two objects in PXON, Exif and pxif
. exif
has any properties defined by the Exif RDF schema. For the sake of creating pixel art, many of these properties are not necessary or even applicable. They have been narrowed down to:
software
: (string) the software used to create/export the pxonartist
: (string) the identity of the artist of the work the pxon representsimageDescription
: (string) a description of the imageuserComment
: (string) a comment from the user generating the pxoncopyright
: (string) the copyright of the imagedateTime
: (string) the date/Time the pxon was initially generated
pxif
is the pixel art spin of exif
, in essense it is unique to pixel art and breaks down the image beyond it's typical metadata and focuses on the individual strokes and drawings of the pixels within the image. The first property, pixels
is an array of "pixel" objects representing the pixels drawn in the image. Because it is a new idea in this format, the list of properties is fluid and ever changing at the moment. They are:
x
- (integer) the x coordinate position of the pixely
- (integer) the y coordinate position of the pixelcolor
- (string) the color of the pixel
{
"exif": {
"software" : "",
"artist" : "",
"imageDescription" : "",
"userComment" : "",
"copyright" : "",
"dateTime" : ""
},
"pxif": {
"pixels" : [
{
"x" : 0,
"y" : 0,
"color" : "",
}
]
}
}