Latest Uploads
Kuron Cap Get!


Merry Christmas


Invasion V ... tup screen


image-07-1 ... -20-59.jpg


PixeLink - ... oween 2014


PixeLink P ... zle Editor


Forum Home

Loading problem

Posted : Saturday, 19 March 2011, 15:31 | Permalink

In this code I have a problem getting the jpg to load.


I'm stopping the program at that point and cannot get the variable to be other than zero (0).
the code and the images are in the same folder. I save the source code in the same folder and even tried compiling and making a exe and then running the program, thinking that it was a system 7 nuance.

Posted : Monday, 21 March 2011, 21:06 | Permalink | Mark Here

here are some questions
that may help you figure out the problem.

- does floor.jpg load with loadimage?

- can the floor.jpg file be opened directly via 'explorer'
without intervention of the file stream system
asking 'do you want to open file file?'

- are you sure it's really a jpg file
and not, say, a bmp file with a jpg extension?

- can floor.jpg be opened by some other programs?

- does blitz return '1'
when examining the file with FileType?

- does blitz return a non-zero value
when examining the file with FileSize?

- does blitz return 'True'
on opening the file with ReadFile?

more questions are available if you need them
Homepage :
Latest Posts
Shoutbox Topic - 18
Kuron Fri 12:26
Welcome, Steve Elliott
Dabz Fri 08:03
Cardboard VR
spinal Fri 04:52
Daily Doodles
Jayenkai Fri 04:35
Purchase Me Do
rychan Fri 04:12
Saving Youtube Videos
Jayenkai Fri 04:01
Great Big Youtube thread
rockford Fri 02:33
Penguin Party
rychan Thu 15:48
AGameAWeek : Year 7 : Part One
Jayenkai Thu 06:21
The King
rockford Thu 01:59

Latest Items
Showcase : Futrino
Jayenkai Thu 06:16
Showcase : Millenipede
Steve Elliott Mon 17:44
Showcase : Flappy New Year
rychan Wed 02:49
Snippet : Simple stack-based interpreter
tbohon Wed 12:08
Link : Protolol
Afr0 Tue 10:53
Showcase : Santa's Workout 2
jayparker Tue 00:43
Dev-Diary : Stripping it All Away
Jayenkai Mon 01:57
News : Newsletter #245
rychan Fri 06:36
Showcase : GPS Fun Runner 3D
zzoom Wed 15:35
Showcase : The Biggest Snowman
rychan Mon 01:06
News : Newsletter #243
Dabz Thu 03:29
Dev-Diary : Scaling Back
rychan Wed 14:33
Showcase : Alpha Collexion
rychan Wed 06:23
Life : Health Update
rockford Thu 12:41
Blog : Powerball Hack
steve_ancell Tue 18:47

Who's Online
Fri, at 12:43
Fri, at 12:16
Steve Elliott
Fri, at 12:13
Fri, at 11:55
Fri, at 10:58
Fri, at 10:40
Fri, at 09:11
Fri, at 07:55
Fri, at 07:47
Fri, at 06:45
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.