- Joined
- Apr 28, 2012
- Messages
- 247
- Reaction score
- 99
- First Language
- English
- Primarily Uses
- N/A
I have been wondering this for a while, but what is the easiest way to save a Bitmap as a file? Most of the ruby articles I looked at wanted me to add a library, and I want to avoid that, if able... I assume it would be something similar to...
Code:
File.open("Graphics/SavedImages/screenshot_01.png", "w+") do |file| bitmap = #... file. #Some method here, passing bitmap as a parameter.end
Last edited by a moderator:
