Git Product home page Git Product logo

Comments (5)

Pizzanomicon avatar Pizzanomicon commented on July 28, 2024

CSV branch

from image-collage-maker.

hanzhi713 avatar hanzhi713 commented on July 28, 2024

This might be caused by the fact that the imagesize library is unable to infer the size of all your images (tiles). Can you attach some sample images? If it's not possible, I can work on a "backup solution" for the case when imagesize fails to infer the size of the majority of images in a folder.

from image-collage-maker.

hanzhi713 avatar hanzhi713 commented on July 28, 2024

I just wrote a fallback function to read entire images to get the size (in case the size cannot be inferred from the metadata). You can pull the code from the csv branch. Could you please help me to test it?

from image-collage-maker.

Pizzanomicon avatar Pizzanomicon commented on July 28, 2024

Sorry for absence/lag-
It appears to still be bugged, now erroring out with:

---------------------------
Error
---------------------------
Fail to infer size. All of your images are in an unsupported format!
---------------------------
OK   
---------------------------

Note that if "infer height" is not checked, the tiles load and are used just fine. This occurs with directories containing only jpegs, and directories containing only pngs.

I found that nearly all of my collections have this bug- and created a folder with only 3 images, which still exhibits the error:

Buggedi-smallset.zip

from image-collage-maker.

hanzhi713 avatar hanzhi713 commented on July 28, 2024

I found the bug. These two deleted lines: 33f9ee5#diff-356786599b38a46ce84bfa9b9b9c759b58d0cece14fb110424104c5dc03f2903L785 removed the size info of all square-sized images.

Now infer size should be working. By the way, please use the master branch code now.

from image-collage-maker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.