Page 2 of 2

Posted: Tue Jun 03, 2003 7:14 am
by darklordz
Force Feedback!!!!!

Posted: Tue Jun 03, 2003 12:56 pm
by LCD
Pardon? I do not use any force feedback devices... :)

Posted: Sun Jun 08, 2003 11:38 am
by LCD
Fred wrote:
LCD wrote:Another question: Is there a way to make memory block from image (not loading image from disc, but taking existing image to read it out with PEEK, modify it with POKE, and then put it back on screen. This should be faster than PLOT())?
You have the ultimate solution in PB: the pointers. Ok, there is some good tutorial on this forums made by 'freak' so you can launch a search for further explanation.
Until now it looks like this method works only in screen or windowed screen mode, and not in window mode, or I haven´t spoted the correct way to use it, so on my wish list is:
GrabImageBlock(WindowID,x in actual window,y in actual window,width,height, memoryBlock)
CatchImage() is then the opposite way, to restore image from memory block.
Are there any plans for ImagePlugin() for loading IFF files on PC?

Posted: Sun Jun 08, 2003 3:04 pm
by El_Choni
More than plans:

http://www.terra.es/personal5/temporald ... ePluginIFF

Usage:

* UseEC_IFFImageDecoder()

Add this like any other image plugin at the beginning of your code. Decodes regular IFF, HAM(5-10), PBM, IFF24/32, EHB. If you find any IFF file that it can't decode properly, please send it to me.

* UseEC_ILBMImageEncoder()

Add this like the previous one, but for encoding. At this moment, it only encodes in IFF24.

To use it, type 'ILBM' as format. The encoder will use RLE only if it results in a smaller file size:

Code: Select all

SaveImage(0, "myIFFfile", 'ILBM') ; note the single quotes around ILBM
Yet a beta, I hope you find it useful. Bye,

Posted: Sun Jun 08, 2003 6:05 pm
by LCD
Great! I did not knew about it... Thank you very much, I started already to write a importer.
Edit: My dude reported me that the IFF decoder does not decode the HAM (From Amiga500) images correctly.

Posted: Mon Jun 09, 2003 10:36 pm
by LCD
El_Choni wrote:More than plans:

http://www.terra.es/personal5/temporald ... ePluginIFF

Usage:

* UseEC_IFFImageDecoder()

Add this like any other image plugin at the beginning of your code. Decodes regular IFF, HAM(5-10), PBM, IFF24/32, EHB. If you find any IFF file that it can't decode properly, please send it to me.

* UseEC_ILBMImageEncoder()

Add this like the previous one, but for encoding. At this moment, it only encodes in IFF24.

To use it, type 'ILBM' as format. The encoder will use RLE only if it results in a smaller file size:

Code: Select all

SaveImage(0, "myIFFfile", 'ILBM') ; note the single quotes around ILBM
Yet a beta, I hope you find it useful. Bye,
You haven´t entered your E-Mail adress, so I can´t send you the IFF that does not decode correctly.

Posted: Mon Jun 09, 2003 11:40 pm
by El_Choni
Here it is (doesn't this forum have an e-mail poster?). Of course, the lib doesn't decode sound, font, text or animated IFF (just to remind you ;):

mcalderon_inicia.es

UPDATE: anything new about these HAM files? Haven't received them yet.