Advertisement

edit .RAW format images

Started by March 07, 2005 03:11 AM
8 comments, last by silverphyre673 19 years, 11 months ago
Sorry... don't know where else to put this: I am a programmer, but need to make textures for a game (I am 16, its nothin professional). The program only uses .RAW files as textures, so I was wondering what freeware is out there that can be used to edit .RAW images. So, uh, yeah, what is there, and where can I get it? Thanks!
my siteGenius is 1% inspiration and 99% perspiration
Infraview can. RAW files are just dumps of the actual image data. You will have to know the bit depth and height/width of the files when trying to open them.
Advertisement
You can use Imagemagick to convert them into a more sensible format (say PNG), edit them in that format, then convert them back again.

Keep them in PNG permanently for editing purposes - create a small shell (Batchfile in NT) script to convert all the files in a directory.

You will of course have to specify the width/height, as raw files have no image size header.

Mark
Do you mean I'll have to specify the height/width in the program, or somehow in the file? I'm confused...
my siteGenius is 1% inspiration and 99% perspiration
Quote:
Original post by silverphyre673
Do you mean I'll have to specify the height/width in the program, or somehow in the file? I'm confused...
In the program. Because a RAW data file is just that... raw data. It's a dump of the image data direct from the program into a file. You have to input the height and width of the file and input the size of the header in bytes so it can be skipped over(usually 0).

How do I convert them to .png in imagemagick? I downloaded the windows static executable, and it lets me import lots of formats, but only lets me save as jpgs.
my siteGenius is 1% inspiration and 99% perspiration
Advertisement
Grab infraview.
silverphyre: the program you're looking for is called "convert" - it's part of imagemagick.

This is controlled by the command-line interface. I'm afraid many young windows users don't really know what this is, anyway, you'll have to use it to make "convert" work.

"convert" supports a great deal of formats, including raw RGB files or raw grey files.

Mark
http://downloads-zdnet.com.com/3000-2192-10021962.html

:) It's free and easy to use.
Oh, come on, I know how to use the command prompt. Geez. Windows and Linux. I'm not THAT inept :) Anyways, how exactly do you run convert (what arguments d you pass, etc)
my siteGenius is 1% inspiration and 99% perspiration

This topic is closed to new replies.

Advertisement