Japanese


Save to File

The PoCo.app adopt the PNG specification as file format.

Note that the file extension is ".poco" in order to avoid to collision with other application, because of private chunks are introduced.(Suppose that adopt ".png" as file extension, a file would be unexpected opened and override by other applications, and then that private chunks would be removed, probably. To avoid such accident, file extension is NOT ".png".)


In output, supporting chunks are following.output order also is following.)

CHUNK Name Description
IHDR Image Header Since the PoCo.app only support for 256 colos, the Color type of the IHDR is always 3(indexed color).
And, the PoCo.app only support for non-interlace.
iCCP Embedded ICC Profile Store ICC Profile.
Storing data is intact that obtain from the NSScreen.
When the use of ICC profile is specified(checked) on the document setting, this chunk is used.
sRGB Standard RGB Color Space Specified value on the document setting is stored as the SRGB value.
When the use of ICC profile is NOT specified(unchecked), this chunk is used.
gAMA Image Gamma Specified on the document setting value is stored as the gamma value.
When the use of ICC profile is NOT specified(unchecked), this chunk is used.
cHRM Primary Chromaticities and White Point Specified values on the document setting are stored as the chromaticity setting.
When the use of ICC profile is NOT specified(unchecked), this chunk is used.
pHYs Physical Pixel Dimensions Store image resolution(Dot per Inch, DPI).
PLTE Palette Store the R, G, and B element of each color.
The PoCo.app always store 256 elements.
tRNS Transparency Store the tranparency of the auxiliary attributes of a color.
Because of the PoCo.app is use either Transparency or No-Transparentcy, each element have either 0 or 255.
However, when the grayscale treat as transparency is specified on the preferences panel, do not follow that limitation.
The PoCo.app always store 256 elements.
drOP Not use
Private chunk
Store the not-use(exclude color) of the auxiliary attributes of a color.
Because of the PoCo.app is use either Use or Not-Use, each element have either 0 or 1.
The PoCo.app always store 256 elements.
maSK Mask
Private chunk
Store the mask(prohibit overriding) of the auxiliary attributes of a color.
Because of the PoCo.app is use either Allow or Disallow, each element have either 0 or 1.
The PoCo.app always store 256 elements.
bKGD Background Color Specified value on the document setting is stored as the specified background color when the use of background color is specified(checked).
cpAT Color Pattern
Private chunk
When color patterns are resigtered, their pattern are stored.
A data-stream of this chunk that sequence is width, height, and pattern(image) which is compressed by zlib deflate.
A cpAT chunk represent a color pattern, the PoCo.app has 16 color patterns, so that there are always 16 elements within a file.
ilAY Image Layer
Private Chunk
Store each image layer.
A data-stream of this chunk that sequence is visible, editable, name(null-terminate), width, height, and image which is compressed by zlib deflate.
A ilAY chunk represent a image layer, a file contain this chunks of a number of layer. Most below(bottom) layer is stored at first, above layers are followed.(i.e. the last ilAY chunk is most above(top) layer.)
IDAT Image Data Store unified visible layer.
Applied filter is only 0(none filter) in order to reduse the complexity of implementation.(when distribute image, propose that should be optimized with other tools such as the pngcrush or optipng.)
IEND Image Trailer The end of the PNG data-stream.


As above mentioned, the PoCo.app adopt PNG as file format, so required chunks(IHDR, IDAT, and IDAT) and PLTE chunk always contain within a file.

Hence, when would be want to be in alliance with other tools, be able to take ways that rename file extension(from .poco to .png) or open file as PNG format and so on.


PreviousBackNext