rage2000 / pylaroid Goto Github PK
View Code? Open in Web Editor NEWFake self-developing film generator
Fake self-developing film generator
On mac if jpg take times for be wrinting into the folder this exception
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/site-packages/watchdog/observers/api.py", line 199, in run
self.dispatch_events(self.event_queue, self.timeout)
File "/usr/local/lib/python3.7/site-packages/watchdog/observers/api.py", line 368, in dispatch_events
handler.dispatch(event)
File "/usr/local/lib/python3.7/site-packages/watchdog/events.py", line 330, in dispatch
_method_map[event_type](event)
File "/usr/local/lib/python3.7/site-packages/pylaroid/file_handler.py", line 23, in on_created
self.photo_sheet.add_photo(event.src_path)
File "/usr/local/lib/python3.7/site-packages/pylaroid/models.py", line 31, in add_photo
self.generate_polaroid(file_path)
File "/usr/local/lib/python3.7/site-packages/pylaroid/models.py", line 48, in generate_polaroid
image = SelfDevPhoto(file_path, logo=self.logo)
File "/usr/local/lib/python3.7/site-packages/pylaroid/polaroid.py", line 20, in __init__
img = Image(filename=filepath)
File "/usr/local/lib/python3.7/site-packages/wand/image.py", line 2744, in __init__
self.read(filename=filename, resolution=resolution)
File "/usr/local/lib/python3.7/site-packages/wand/image.py", line 2822, in read
self.raise_exception()
File "/usr/local/lib/python3.7/site-packages/wand/resource.py", line 222, in raise_exception
raise e
wand.exceptions.CorruptImageError: insufficient image data in file `./DSC_1705_.JPG' @ error/jpeg.c/ReadJPEGImage/1106```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.