07-02-2018, 06:32 PM
From what I can dig up, the pattern file contains very little apart from the image data
Probably a .pat file originally tiled a bit faster than a png/jpeg since it looks like it is not compressed.
Patterns tend to large these days, I would just use .png or .jpg
You can open a .pat pattern as an image by right clicking on a pattern icon in the patterns dock.
Code:
STRING name The pattern name
INT32 width The pattern width
INT32 height The pattern height
INT32 mask_bpp Pattern bytes per pixel
INT32 length Length of pattern mask data
INT8ARRAY The pattern mask data
Probably a .pat file originally tiled a bit faster than a png/jpeg since it looks like it is not compressed.
Patterns tend to large these days, I would just use .png or .jpg
You can open a .pat pattern as an image by right clicking on a pattern icon in the patterns dock.