Importing Graphics

Started by alabast, Thu 13/10/2005 23:36:54

Previous topic - Next topic

alabast

I just downloaded this program today and experimented with the tutorial, creating a background in Photoshop for my first room.  I'd like to run the game in True Color mode, but my photoshop bitmaps don't import properly unless I (in Photoshop) set them to 8 bit, rather than 16 or 32 bit mode (the background just appears as a uniform dark sienna color).  If my palette is set to 32-bit mode, shouldn't I be able to import 32 bit colors?'

Thanks

Gilbert

Did you set the game palette to 32-bit true colour?

Ashen

Can photoshop save as 24-bit colour? That's the highest I can save at, and I've never had any problems importing my backgrounds (such as they are).

I think 32-bit mode is mostly about having alpha channels for your sprites. (But someone correct me if I'm wrong.)
I know what you're thinking ... Don't think that.

Wretched

I do everything via the clipboard now, miles faster than saving and loading stuff. Photoshop lets you use CTRL-SHIFT-C to do a merged image copy to the clipboard.

Ashen

However copy-pasting has its own problems (see this thread, for example).
I know what you're thinking ... Don't think that.

alabast

Let me clarify:  The file only lets me import 8 bit bitmaps, no matter what the palette is set at (8, 16 hi-color, or 32 true-color).  If I import anything higher, I get just a blank sienna as my background.  The copy background from clipboard option doen't seem to work.  A pcx file tends to work, is there and advantages or diadavantages to using bmps or pcxs that I should know about?

Gilbert

If PCX works for you, use it instead, there're no difference in using BMP or PCX files for backgrounds (apart from the fact that BMP files were not compressed so they'll be a bit larger in file size, but that won't affect your game's room filesizes.

scotch

#7
Ignore this post if you aren't using Photoshop CS or CS2.

There certainly shouldn't be a problem importing 16 or 32 bit graphics, so I wonder, when you say 8, 16 and 32 bit, are you talking about the option in the New image menu, under "colour mode", and the Bits/channel setting under?Ã,  These are slightly different to how AGS means 8, 16 and 32 bit.Ã,  In AGS, and most programs dealing graphics meant for a computer screen, the number of bits here refers to the number of bits per pixel, that is to say in 32 a bit colour pixel we have 8 bits of red, 8 bits of green, 8 of blue, and 8 of alpha, which means there are 256 levels of each, making 17 million colours total.Ã,  That 32 bit mode is what photoshop calls 8 Bits/channel.Ã,  Photoshop's 32 bit/channel mode could be referred to as 128 bits per pixel, it is for when you need a very large range of colour values, 4 billion levels of each.Ã,  This is larger than a computer graphics card can display, so pointless for AGS.

8 bit in AGS = Indexed Color in photoshop.
16 bit = Can't work in 16 bit mode in Photoshop, 32 bit images can be saved to 16, though, with some loss in quality.
32 bit = RGB Colour, 8 Bit/channel

If you are able to create a new layer in an image, then you are in true colour/32 bit mode.

From the sounds of it, if you can save an image to bmp or pcx, you are in the right mode, but I did speak to one person who got confused by this, so I thought I'd mention it.

SMF spam blocked by CleanTalk