[Implemented] More optional IDs for the Image-Lib please
Posted: Wed Nov 17, 2004 5:21 pm
Hello there,
would be nice to have an (optional or fix) ID-parameter for the image-Lib. I think this wouldn't be too difficult because some image commands already got the #imageID parameter, but not all.
Could be like that:
- ImageWidth(#imageID)
- ImageHeight(#imageID)
- ImageDepth(#imageID)
- ImageOutput(#imageID)
All other image commands got parameters to identify them clearly. For ImageWidth() for example you have to change the current image with UseImage(#imageID) before using that command, why is an #ImageID-parameter missing here? And for drawing on images you have to use useimage(#imageID) before using the startdrawing(imageoutput()) command, too (because of missing id-parameter of ImageOutput()).
mfg.
Sunny
would be nice to have an (optional or fix) ID-parameter for the image-Lib. I think this wouldn't be too difficult because some image commands already got the #imageID parameter, but not all.
Could be like that:
- ImageWidth(#imageID)
- ImageHeight(#imageID)
- ImageDepth(#imageID)
- ImageOutput(#imageID)
All other image commands got parameters to identify them clearly. For ImageWidth() for example you have to change the current image with UseImage(#imageID) before using that command, why is an #ImageID-parameter missing here? And for drawing on images you have to use useimage(#imageID) before using the startdrawing(imageoutput()) command, too (because of missing id-parameter of ImageOutput()).
mfg.
Sunny