-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fun overlay demos #27
Comments
Neat idea! I haven't messed with any camera stuff much but I think this should be achievable. Some thoughts about how for me to come back to: The frame(s) image files can have "greenscreen" section for the center. It can be layered on top of the camera preview in displayio with ondiskbitmap or imageload Bitmap and the greenscreen color made transparent so it won't be drawn and the camera preview should show through. For saving the images with the frame in them. It could possibly use adafruit_bitmapsaver to save a "screenshot" of the preview screen which will include the frame. Or if it's easier I think |
Oh that sounds awesome |
This turned out to be a little trickier than I made it sound, and I hit some unrelated hurdles along the way but I've gotten both previewing and saving with the overlay functional now. PR with library modifications and new example coming shortly. Final image with overlay (github doesn't allow .bmp files it seems): There are a few things to note about it:
|
@FoamyGuy
idea is to have a 'transparent background' frame file on the SD card or internal memeory that will be OR'd onto the image to give it a custom border! ideally the frame would also be visible in the preview
basically, simulate this:
The text was updated successfully, but these errors were encountered: