Hey there. I know it may be stupid question, but i struggle with finding an answer on my own since im a noob AGS user.
Well, ok.
In my 1st game that im developing right now ive encountered a problem durning change of background in one of rooms:
"The background could not be imported. The error was: Unknown pixel format"
Problem is - the background is done with exacly same way as BG's in other rooms (made in GraphicGale,black and white only, 320x200 res and output file type is .png) so how come this one's not working?
Maybe the file got corrupt?
I just tried this and got the same error.
Just change it from 1bit to 24bit and you should be fine.
Kweepa's solution did work:).
But still, why previous bgs worked fine and this one did not is a mystery. ???
My guess is your previous backgrounds are black and white but not 1 bit. They just look like it. :P
As a matter of fact - all of them were made in 4bit (i needed other color for transparency durning their creation in GG) so outcome file was identical in terms of parameters:).
No matter now, got to be a bug of some sorts. Important thimg is we got a way around it :).
Quote from: CyberUncleCat on Wed 27/12/2017 22:32:05
"The background could not be imported. The error was: Unknown pixel format"
Quote from: CyberUncleCat on Thu 28/12/2017 00:03:15
As a matter of fact - all of them were made in 4bit
This may be simply that AGS does not support importing this particular image format. Might be worth to upload it so that developers could check and add support for it in the future.
Yeah, I tried 1bit and 4bit pngs and neither could be used as backgrounds.
Developers, try these:
(http://www.kweepa.org/step/ags/critics/OneBitPNG.png) (http://www.kweepa.org/step/ags/critics/FourBitPNG.png)