Cropping bitmap images
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
Cropping bitmap images
I know how to resize .bmp files in Dyalog, but is there a simple way to remove/crop say the top 10% or the right 10% of a bitmap image without changing the scale of the rest of the image? The answer may be somewhere in the manuals (sorry if this is a silly question), but I haven't found it.
Re: Cropping bitmap images
sorry if this is a silly question
... then maybe this answer is too simple ?
Presuming your Object is a 'Bitmap', simply use the 'CBits' property ( Integer Matrix ) to drop ( dyadic ↓ ) any chunk of the matrix you please.
Re: Cropping bitmap images
Thanks. This works well.