[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Looking for portable image manipulation library



Am Mittwoch, den 09.02.2005, 16:46 +0000 schrieb Jens Granseuer:

> SDL_gfx can do scaling, and alpha-blending, too, I suppose.
> http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
>
> You didn't say what you're trying to do, though. If you're just
> trying to streamline your design pipeline, with the final result still
> being a bitmap you can feed to mktileset, then it might be worth a try
> to do that as a gimp plugin, now that gimp also has a non-GUI version.

I draw a lot of tiles in 64x64 pixel in single files and would like to
have a tool that automatically generate a tileset from them. This tool,
also controlled by *.tsrc, should load all tiles from a tileset
directory, create missing sizes of tiles through scaling, transpose them
to a desired color scheme (currently 256 colours, indexed), apply the
hexagon mask and write a tileset for each zoom stage. Instead of copying
each tile manually to a big image that could be parsed by mktileset,
this image should be automatically assembled. Which tiles became part of
the tileset and the sequence should be defined by *.tsrc.

I think the best approach from todays point of view is to create a BMP
file that could be fed into mktileset. So ImageMagick seems to be the
best solution because it is able to read a lot of image formats, can do
much more than I need, can write BMP files and is also available for
windows. The only interference with existing tools might be a patch to
mktileset so that it will ignore unknown options in *.tsrc and maybe in
a second step to support more than 256 colors.

Thanks for your help finding a gfx toolkit.

  Best Regards
    Matthias