Latest Uploads
IFS Viewer 3

Andy_A

Still Truckin'

rychan

Curlicue Fractals

Andy_A

heroextant ... -small.png

HoboBen

image-25-0 ... 26-04.jpeg

Jayenkai

Help_Fight ... rivacy.png

Jayenkai

Forum Home

Loading problem

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


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.


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


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 : http://www.bettiesart.com/tc/contact
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 673|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
New Spray : Enforced Fun
Jayenkai Tue 01:19
PIP Crap
Jayenkai Mon 14:28
Dark Matter Season 2!
Jayenkai Mon 14:27
VR is Incoming
Jayenkai Mon 02:25
OUYA vs Cortex
Jayenkai Sun 23:16
Independence Day 2 : Resurgence
rockford Sun 22:56
AGameAWeek : 2016 - Part Two
Jayenkai Sun 12:13
Number-Link
Jayenkai Sun 07:03
Z ordering
Dither Sat 13:30
AGameAWeek : 2016 - Part One
Jayenkai Sat 08:39
More

Latest Items
Snippet : Random 3d maps FPS
Pakz Mon 13:33
Showcase : Go!
rychan Sat 14:26
Showcase : IFS Viewer 3
Andy_A Mon 13:29
Showcase : Map Generator variation
Pakz Sat 00:08
Showcase : Popcorn Bucket
Jayenkai Mon 13:15
Showcase : Colour Guesser
Jayenkai Sun 06:31
Showcase : Unseen
rychan Mon 03:31
Snippet : Simple Dungeon level Generator
Andy_A Wed 07:44
Snippet : Simple Dungeon level Generator(mx)
Pakz Tue 06:23
Blog : BreadBox
spinal Sun 09:11
Showcase : Curlicue Fractals
Jayenkai Sun 08:41
Showcase : Grey backgrounds
Pakz Sun 07:43
News : Newsletter #265
steve_ancell Fri 02:58
Showcase : Jumble Blocks
steve_ancell Mon 09:44
Showcase : Harpoons and Balls
Ninjinister Mon 07:29
More

Who's Online
GfK
Tue, at 01:38
Jayenkai
Tue, at 01:25
spinal
Tue, at 01:10
rockford
Tue, at 00:34
Dabz
Mon, at 21:32
HoboBen
Mon, at 20:31
Afr0
Mon, at 19:34
shroom_monk
Mon, at 17:23
9572AD
Mon, at 16:20
Pakz
Mon, at 15:21
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.