Raw image loader for the Gimp 1.2

Download Now!
Requires The Gimp 1.1.26 or newer! (works with 1.2)

NEW! Version 3.0 with much improved load speed for standard RGB and indexed images! Code reorganization to make the source more readable and modular. Added some error checking to the save function, should be enough for now. If you are using version 2.2 you should upgrade.

Old news: Now you can save almost any type of image as raw files, too! Choose RAW type when saving your image, and select type (normal or planar), and if your image is indexed, palette type. Palette will be saved as the filename plus .pal extension.

What's the use for something like this? How about extracting textures from some game, getting icons out of binaries, recovering data saved to C-source by The Gimp, looking around for interesting image data inside .DLL files, etc.

With Raw Image Loader plug-in version 2.2 you can do all that, and more! With simple controls, you can scan through a large file for interesting patterns and then fine-tune the image parameters, finally loading a pallete if needed, and, hey, guess what - you now have the image loaded inside Gimp! Cool, huh?

Since version 2.2, 3 types of images are supported - standard 24-bit RGB images, RGB images with an alpha channel, and indexed images. The preview window displays all 3 types correctly, in full color in case of RGB(A) images, or in black-and-white for indexed, until a pallete file is loaded.

For indexed images, you can choose the standard pallete type used mostly in old DOS games, demos, etc of 256 blocks of RGB color data (R, G, B style) or the B, G, R, X style used by .BMP files and probably by anything else inside Windows. Icons and program images inside .DLL and .EXE files use this format.

The "Palette Offset" spinbutton controls how deep inside the pallete file the needed pallete starts. This is useful if you use raw data file as the image source and as the pallete, most likely because it has some sort of a windows bitmap embedded in it, or if you have a palette.dat file from a DOS game or demo and it contains more than one pallete. For convenience, pressing Pg-Up and Pg-Dn on the Palette Offset spinner moves up or down by 768 bytes.

Plugin by timecop@japan.co.jp, October 2000
Back to main homepage: http://www.ne.jp/asahi/linux/timecop