Virtual Bin w/ CatchImage w/ Non-BMPs? + NULL! + More!
Posted: Sat Oct 23, 2004 7:29 pm
1.) Anybody ever got this working? I do have the up-todate CatchImage library and it works great with BMPs, but how do we catch JPGs and PNGs? When I tried (using the jpeg decoder before hand), w/ #PB_ANY, it returns a valid image number, but no valid image (it's all black).
2.) Is there a way to tell if the resulting image from catch image (used with vbin) is a NULL? The program always errors out if it returnsd a NULL, and I think it would be quite helpfull to find out if a image is null'd or not gracefully. w/o having to list the entire contents of a packed file (as packed files can be huge).
3.) I have asked this of Paul via PM, but he never answered, so I am going to ask here... If you look at the VBIn maker, it returns both compressed and uncompressed size of a packed file, yet there are no functions in the library to find the compressed size of a packed file. However, his program DOES show such a thing. Anybody know how to do this?
2.) Is there a way to tell if the resulting image from catch image (used with vbin) is a NULL? The program always errors out if it returnsd a NULL, and I think it would be quite helpfull to find out if a image is null'd or not gracefully. w/o having to list the entire contents of a packed file (as packed files can be huge).
3.) I have asked this of Paul via PM, but he never answered, so I am going to ask here... If you look at the VBIn maker, it returns both compressed and uncompressed size of a packed file, yet there are no functions in the library to find the compressed size of a packed file. However, his program DOES show such a thing. Anybody know how to do this?