Search found 5 matches

by shadfurman
Apr 05, 2010 17:38
Forum: Beginners
Topic: Image arrays
Replies: 11
Views: 2339

I recoded it and got it working

After a good nights sleep I decided to rewrite it, use BMPs and get the header info to ensure I get the right dimensions, I let imagecreate handle the memory allocation and load the images with bload. 'p = pointer to image (not used yet), d = directory of images Function populatepicturebar (p As Any...
by shadfurman
Apr 05, 2010 1:01
Forum: Beginners
Topic: Image arrays
Replies: 11
Views: 2339

I cleaned it up a bit an commented it

@Prichard, thats exactly what I'm trying to do... @D.J.Peters, I tried using Get instead of Bload, but I'm running into other errors with that, what is in the first 5 bytes? I've read the whole file with get in other programs without any issue... @vdecampo, I tried an implementation with fb.image, d...
by shadfurman
Apr 04, 2010 22:34
Forum: Beginners
Topic: Image arrays
Replies: 11
Views: 2339

Ok, I don't think I was clear...

I'm not looking to make an image array, I want to make an array of images or an array of pointers to image arrays. So image(0) is the first image, image(1) is the second image, but I think its trying to access elements in the image instead of each image. The only other solution I've thought of is to...
by shadfurman
Apr 04, 2010 18:27
Forum: Beginners
Topic: Image arrays
Replies: 11
Views: 2339

Image arrays

I'm trying to make an array of pointers to images and for some reason its not working, I still have no idea whats going on with it. Really what I want is to be able to load and access a bunch of different images without previous knowledge of their size or file names. Here is what I've got, I've been...
by shadfurman
Mar 18, 2010 21:21
Forum: Sources, Examples, Tips and Tricks
Topic: Clock Cycle Count Macros
Replies: 14
Views: 16158

Completely didn't work for me...

I know this is an old post, but I've been using a 10,000,000+for/next and time difference. I didn't even know this was possible! But it doesn't work. I'm sure some of this is due to compiler changes as it say the "option explicit" is deprecated, however using -lang fblite, qb or deprecated...