lr101 / PictureCollage

Make an automatic collage from pictures saved on you PC. Just define the size of the end result picture. It doesnt compromise in quality but the file size might get quite big. Description in German !
2 stars 0 forks source link

Not working #3

Open drveresh opened 1 year ago

drveresh commented 1 year ago

@lr101 Please help me out with this issue. I tried all combinations and options, but it is not generating the collage photo. I tried with a folder that has 4 photos with equal dimensions, but as per inputs (scanner), it did finish successfully but generated only one photo (1/4).

Also, the method getFinalPictureSize() in Rectangle.java is empty (TODO), and not sure why.

For example, refer below, if there are four photos each having the dimension (500x500px). The below co-ordinates are right, but the final output photo shows only 1-2 photos, either horizontally or vertically based on the given height/width set.

(1/4 -> 25%) Adding at: ( x:0| y:0)
(2/4 -> 50%) Adding at: ( x:0| y:500)
(3/4 -> 75%) Adding at: ( x:500| y:0)
(4/4 -> 100%) Adding at: ( x:500| y:500)
lr101 commented 8 months ago

I know this is not the best setup for such a small number of images but with a larger collection (20+ images) the advantage is that images with different dimensions automically get inserted in the max number of possible rows.

I made this to create big posters with my own images with 100+ high resultion images, because existing tools need to have all images inserted manually. Online websites do also often not allow to upload more than a certain amount of data size. This porgram can produce >100MB high resultion images.

So sorry to not provide what you were looking for :(. I removed the TODO for all that it is worth