Image limit

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
DAanDASja
Posts: 17
Joined: Sun Oct 14, 2007 8:58 am

Image limit

Post by DAanDASja »

Hey guys

I wonder if there is any way to change the maximal image height (500x500 pixels) set by graphics.h
Because when I load a image (720x272), the psp crashes.

Thx for help.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

isnt the max 480 * 272?
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

The maximum for graphics.c is 512x512 because it's meant for loading textures. It's not a general purpose viewer program.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

Use Oslib for that.I don't know what is the maximum but I never had problems with loading 1024x768 pictures.
Post Reply