Author Topic: Background Problem  (Read 382 times)

CyberUncleCat

  • Just old'n'lazy
Background Problem
« on: 27 Dec 2017, 22:32 »
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?

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: Background Problem
« Reply #1 on: 27 Dec 2017, 22:45 »
Maybe the file got corrupt?
There are those who believe that life here began out there...

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    •  
    • Kweepa worked on a game that was nominated for an AGS Award!
Re: Background Problem
« Reply #2 on: 27 Dec 2017, 23:08 »
I just tried this and got the same error.
Just change it from 1bit to 24bit and you should be fine.
Still waiting for Purity of the Surf II

CyberUncleCat

  • Just old'n'lazy
Re: Background Problem
« Reply #3 on: 27 Dec 2017, 23:16 »
Kweepa's solution did work:).

But still, why previous bgs worked fine and this one did not is a mystery. ???

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    •  
    • Kweepa worked on a game that was nominated for an AGS Award!
Re: Background Problem
« Reply #4 on: 27 Dec 2017, 23:25 »
My guess is your previous backgrounds are black and white but not 1 bit. They just look like it. :P
Still waiting for Purity of the Surf II

CyberUncleCat

  • Just old'n'lazy
Re: Background Problem
« Reply #5 on: 28 Dec 2017, 00:03 »
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 :).

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: Background Problem
« Reply #6 on: 28 Dec 2017, 01:25 »
"The background could not be imported. The error was: Unknown pixel format"
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.

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    •  
    • Kweepa worked on a game that was nominated for an AGS Award!
Re: Background Problem
« Reply #7 on: 28 Dec 2017, 02:38 »
Yeah, I tried 1bit and 4bit pngs and neither could be used as backgrounds.
Developers, try these:

Still waiting for Purity of the Surf II