Saturday, 14 December 2024

Photo Collage app

One tool I would like to have is a mini app which allows me to make a photo collage. I already have a notebook which allows me to do matrix-type of collages but I don´t get to select the order of the photos or manipulate photos (zooming and moving). Instead of doing Advent of Code, this year I will (try to) build this app by myself. I am going to give flet a try and see how far I get. Wish me luck


So, a few requirements:

I want to be able to select photos from a local folder. Stretch: select photos from several folders.

I want to be able to use different layouts for the collage. Stretch: I can define new layouts within the app

I want to be able to drag and drop photos into each area of the collage

I want to be able to zoom in and out and pan the photo within each area of the collage



Update 15th Dec


I can already select Photos from several folders (just click the button several times and they will be appended to the list)
I can already drag and drop photos into certain areas


Update 20th Dec
I can select fotos from local folders. If I select photos from different folders, they are added to the list of available photos
I can define (manually in the code) different layouts and then select one and drop it to be used
I can allocate photos to each collage area dragging and dropping photos into the desired area
I can create new layouts (not yet save them though) creating separate areas of desired sizes and moving them as I wish in the collage area (thanks to Flet Tutorial - Create Image Photo Crop App)



Update 22nd Dec
Almost there, much faster than I thought.
I can pan and zoom in/out each photo separately. Just need to save the resulting photo and a few finishing touches. All in all, great experience. Plus it would work with little effort as a web app. Nice!






No comments: