Skip to content

Exports layers and paths to OpenRaster compatible file with extra metadata useful for importing into other systems, like games.

License

Notifications You must be signed in to change notification settings

clofresh/gimp-ora-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

gimp-ora-plus

gimp-ora-plus exports a GIMP xcf file as an OpenRaster file. GIMP already has OpenRaster export built-in, but this plugin will also export your paths, which the built-in functionality does do. Additionally, this plugin will let you associate arbitrary attributes to your layers and paths.

Install

To install, put gimp_ora_plus.py in your plugins directory.

Usage

To export, open up GIMP and select File -> Export as OpenRaster Plus from the menu.

To specify custom metadata on a layer or path, you'll need to add to add a url querystring-like string to your layer or path's name. For example, if you name your layer:

rock?type=obstacle&weight=50

The resulting xml metadata will look like:

<layer name="rock" type="obstacle" weight="50" />

Which you can then use in whatever other program you're importing this data into.

Specifying an attribute twice like this:

wall?material=wood&material=metal

will create a comma-separated array like this:

<layer name="wall" material="wood,metal"  />

Paths are exported as CSVs, following the path-csv format.

About

Exports layers and paths to OpenRaster compatible file with extra metadata useful for importing into other systems, like games.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages