So I have raw image and I am just curious If I can edit such image to save as RGB-32 Packed transparent interlaced raw and what program I could use, there is specification:
Format of RAW image
I have tried using photoshop but then game crashes. Is it even possible? I should get file without thumbnail. I also tried using gimp, free converters and Raw viewer but no luck. Any suggestions?
Edit:
Used photoshop (interleaved with transparency format), game starts but images are just bunch of pixels.
2
Answers
Try using online converters. They help most of the time.
A Website like these can possibly help:
Some are specific websites which ask you for detail and some are straight forward conversions.
We are still not getting a handle on what output format you are really trying to achieve. Let’s try generating a file from scratch, to see if we can get there.
So, let’s just use simple commands that are available on a Mac and generate some test images from first principles. Start with exactly the same
ghost.raw
image you shared in your question. We will take the first 12 bytes as the header, and then generate a file full of red pixels and see if that works:So you can try using
red.raw
in place ofghost.raw
and tell me what happens.Now try generating a blue file just the same:
And then try
blue.raw
.Original Answer
AFAIK, your image is actually 512 pixels wide by 108 pixels tall in RGBA8888 format with a 12-byte header at the start – making 12 + 4*(512 * 108) bytes.
You can convert it to PNG or JPEG with ImageMagick like this:
I still don’t understand from your question or comments what format you actually want – so if you clarify that, I am hopeful we can get you answered.