I just started edting the hamster example (here),
and when i change the image to any other, i got a blank rectangle instead of the actual image.
First i thought it would be the image extension, the example has a .png, and i had a .jpg.
I edited the image and saved as .png, but i still have the blank rectangle.
The image im trying to display is in the same directory as the hamster example image.
Anyone know what im doing wrong?
This is how it looks like.
Blank Images
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Blank Images
It's your graphics card that can't handle images whose width and height aren't powers of two.
Re: Blank Images
Hum... quite easy to solve this, resizing the image works perfectly.
Thank you.
Thank you.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Blank Images
Just pad it if your don't want to scale the image itself.Elvenrix wrote:Hum... quite easy to solve this, resizing the image works perfectly.
Thank you.
Re: Blank Images
This bug is REALLY annoying. Maybe LOVE should autopad graphics. In fact, I'm going to post a feature request!
Good bye.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Blank Images
People /still/ have an issue with this? Seriously, just about /everything/ uses 2^ texture dimensions.
But anyway, seeing as how so many people have this problem, shouldn't someone go put the solution on the wiki, in a very visible place? I'd do it myself, but I've never been able to log into it...
But anyway, seeing as how so many people have this problem, shouldn't someone go put the solution on the wiki, in a very visible place? I'd do it myself, but I've never been able to log into it...
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Blank Images
It USED to. 0.5.0 padded them automatically. 0.6.x does not and the reason has been explained many times. Don't file a request. It won't happen. Just pad the graphics yourself or use a library to do it for you.Luiji wrote:This bug is REALLY annoying. Maybe LOVE should autopad graphics. In fact, I'm going to post a feature request!
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Blank Images
It exists already.Taehl wrote:But anyway, seeing as how so many people have this problem, shouldn't someone go put the solution on the wiki, in a very visible place? I'd do it myself, but I've never been able to log into it...
Help us help you: attach a .love.
Who is online
Users browsing this forum: Bing [Bot] and 16 guests