Comments (5)
CSV branch
from image-collage-maker.
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.
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.
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:
from image-collage-maker.
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)
- def __init__(self, type: Any, help: str, default=None, nargs=None, choices: List[Any]=None) -> None: HOT 2
- --resize_opt center not work HOT 3
- Feature Request: CSV log of each tile used HOT 6
- BUG: GUI runs out of memory/needs mem_limit HOT 3
- BUG: CSV branch does not successfully write CSV - character maps to <undefined> HOT 2
- Collage with transparency HOT 4
- how to make the mosaic generation process as dynamic video or gif HOT 2
- [Feature] Multiple output HOT 3
- [Feature] Multiple output HOT 1
- BUG: CSV Output reports all tiles loaded, not tiles used HOT 1
- Master Branch Does not Seem to be using GPU in GUI HOT 2
- ModuleNotFoundError: No module named 'tkinter' HOT 1
- [instability] GUI hang/unresponsive after tiles are loaded, cannot click to photomosaic HOT 2
- [feature request] Progress bar on "Aligning images on the grid" stage of tile loading HOT 2
- ModuleNotFoundError: No module named 'numpy' HOT 3
- Problem with `--resize_opt center` not cropping the tile image into Square HOT 3
- UnboundLocalError: local variable 'w' referenced before assignment HOT 2
- Additional features HOT 2
- def limit_wh(w: int, h: int, max_width: int, max_height: int): HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-collage-maker.