Difference between revisions of "NML:Graphic files"

From GRFSpecs
Jump to navigationJump to search
(add palette doc from devzone)
m (change palette naming DOS->default and windows->legacy to match OpenTTD's naming of those)
Line 1: Line 1:
 
{{NMLNavNoSubpages}}
 
{{NMLNavNoSubpages}}
   
All graphic files must be in a format that can be loaded by the python imaging library and they must have a valid palette. You can chose either the DOS palette (recommended as it contains a few more colours) or the windows palette.
+
All graphic files must be in a format that can be loaded by the python imaging library and they must have a valid palette. You can chose either the default (DOS) palette (recommended as it contains a few more colours) or the legacy (windows) palette.
   
 
Palette files for several editors:
 
Palette files for several editors:
   
* [http://hg.openttdcoop.org/nml/raw-file/tip/docs/ttd-newgrf-dos.gpl Dos palette for GIMP]
+
* [http://hg.openttdcoop.org/nml/raw-file/tip/docs/ttd-newgrf-dos.gpl Default (DOS) palette for GIMP]
* [http://hg.openttdcoop.org/nml/raw-file/tip/docs/ttd-newgrf-win.gpl Windows palette for GIMP]
+
* [http://hg.openttdcoop.org/nml/raw-file/tip/docs/ttd-newgrf-win.gpl Legacy (Windows) palette for GIMP]
* [http://hg.openttdcoop.org/nml/raw-file/tip/docs/ttd-newgrf-win.act Windows palette for Photoshop]
+
* [http://hg.openttdcoop.org/nml/raw-file/tip/docs/ttd-newgrf-win.act Legacy (Windows) palette for Photoshop]
 
* (another collection of palette files on the [http://dev.openttdcoop.org/documents/1 #openttdcoop DevZone])
 
* (another collection of palette files on the [http://dev.openttdcoop.org/documents/1 #openttdcoop DevZone])
   
'''Note''': Windows versions do NOT support graphics in the pcx format due to missiong support within the PIL.
+
'''Note''': Windows versions of NML do NOT support graphics in the pcx format due to missiong support within the PIL.

Revision as of 12:37, 18 December 2013

All graphic files must be in a format that can be loaded by the python imaging library and they must have a valid palette. You can chose either the default (DOS) palette (recommended as it contains a few more colours) or the legacy (windows) palette.

Palette files for several editors:

Note: Windows versions of NML do NOT support graphics in the pcx format due to missiong support within the PIL.