n00b question: #Sprite Object not initialized

Just starting out? Need help? Post your questions and find answers here.
wolfwood2x
User
User
Posts: 76
Joined: Sun Oct 02, 2005 5:08 am

Post by wolfwood2x »

Ok I tried a PNG and it did not display but I no longer got the error message. It is possible I was displaying it off screen. So is the jpg decoder bugged in linux?
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

it did not display
did you change the loop the way I told you?

So is the jpg decoder bugged in linux?
I don't think so. I rather think there is some inconsistency in the encoding, perhaps different versions...

anyhow, you could post that in the Linux Subforum to ask, if it maybe a bug or not.
since I don't have Linux, I can't test it myself.
oh... and have a nice day.
wolfwood2x
User
User
Posts: 76
Joined: Sun Oct 02, 2005 5:08 am

Post by wolfwood2x »

:shock: No... I just noticed I had not changed that. I moved the display into the loop and it showed up. Still have no idea why the jpeg wouldnt work.... thanks for your help
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

I think IrfanView is avaliable for Linux.
open that picture with IrfanView, and safe it again as JPG,
with another name, don't keep the EXIF, disable progressive and subsampling.
Image
this should make sure it's saved in a way the decoder in PB can deal with.

if Irfan can't open this pic, it's really damaged.
oh... and have a nice day.
wolfwood2x
User
User
Posts: 76
Joined: Sun Oct 02, 2005 5:08 am

Post by wolfwood2x »

There is no native linux client for irfanview and it does not natively run in wine either. You have to get a bunch of dll files from microsoft. I tried to accomplish the same feat using GIMP and I still have the same problem the decoder is unable to load the sprite successfully
:(

Also note that I have tried with several images which any image manipulation program is able to open and edit. The same image works under the decoder in windows with 0 alteration to the image. Which is why I believe this to be a linux specific bug
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

ok I see...
at least I could help you that far, that you now can use PNG...
have fun with your project.
oh... and have a nice day.
wolfwood2x
User
User
Posts: 76
Joined: Sun Oct 02, 2005 5:08 am

Post by wolfwood2x »

thanks again..
I appreciate all your assistance.
Post Reply