Bitmap organizer with preview and rotation
Posted: Sun Jul 15, 2018 5:12 am
Hi! Finally felt myself capable of posting something useful.
Attached is an example of multiple bitmap organizer with simultaneous preview and image rotation capability.
I faced the need of the above one while working on my different project, and here it is.
I am new to FS graphics and especially, the Ruby based one, so, it's my first work like that, I had to mess pretty much with it and it took me hours to bring it to acceptable state))). So, please, don't judge strictly, even though my Ruby coding might look somewhere awkward, the schematics works w/o bugs, so, hopefully - the first pancake is not lumpy, anyhow I've learnt a lot of Ruby along)).
The scheme loads, stores and displays 6 images with a linear layout, everything is resizable in real-time to maximize visual layout, it is possible to rotate images individually via LED switches, the whole picture will adopt automatically, the code preserves the original width to height image ratio...
The rotation is only 90 degrees now, cause I haven't got the full understanding of how FS processes bitmap rotation yet. Fell free to develop additional functionality.
Hopefully, one would find this thing useful)).
Attached is an example of multiple bitmap organizer with simultaneous preview and image rotation capability.
I faced the need of the above one while working on my different project, and here it is.
I am new to FS graphics and especially, the Ruby based one, so, it's my first work like that, I had to mess pretty much with it and it took me hours to bring it to acceptable state))). So, please, don't judge strictly, even though my Ruby coding might look somewhere awkward, the schematics works w/o bugs, so, hopefully - the first pancake is not lumpy, anyhow I've learnt a lot of Ruby along)).
The scheme loads, stores and displays 6 images with a linear layout, everything is resizable in real-time to maximize visual layout, it is possible to rotate images individually via LED switches, the whole picture will adopt automatically, the code preserves the original width to height image ratio...
The rotation is only 90 degrees now, cause I haven't got the full understanding of how FS processes bitmap rotation yet. Fell free to develop additional functionality.
Hopefully, one would find this thing useful)).