Missing commands and functions
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:Fred wrote: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.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())?
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?
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
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:
Yet a beta, I hope you find it useful. Bye,
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
El_Choni
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.
Edit: My dude reported me that the IFF decoder does not decode the HAM (From Amiga500) images correctly.
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
You haven´t entered your E-Mail adress, so I can´t send you the IFF that does not decode correctly.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:
Yet a beta, I hope you find it useful. Bye,Code: Select all
SaveImage(0, "myIFFfile", 'ILBM') ; note the single quotes around ILBM
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10