Comments (3)
raspberry pi, heh. That's interesting.
Is that on a bash shell? That line references the image dimensions, do you get proper info from these commands?
identify -format "%w" ./imagepath.jpg
convert ./imagepath.jpg -resize 200x200 -depth 4 +dither -colors 7 -unique-colors txt:-
from expose.
identify -format "%w" myfile.gif outputs "460"x15 for the 15 frames in that
animated gif. It does the same on a different Ubuntu 14.04 system I have.
Turns out they both use the same version of ImageMagick.
Version: ImageMagick 6.7.7-10 2014-04-09 Q16 http://www.imagemagick.org
On Wed, Oct 14, 2015 at 9:38 PM, Jack Qiao [email protected] wrote:
raspberry pi, heh. That's interesting.
Is that on a bash shell? That line references the image dimensions, do you
get proper info from these commands?identify -format "%w" ./imagepath.jpg
convert ./imagepath.jpg -resize 200x200 -depth 4 +dither -colors 7 -unique-colors txt:-
—
Reply to this email directly or view it on GitHub
#6 (comment).
from expose.
that makes sense then. I'm not sure how to handle animated gifs in the source image though. The entire script basically assumes that the output images are jpegs (which for the photography focus I think makes sense) and it will take a bit of refactoring to support different output image formats.
I'm leaning towards just skipping over animated gifs or re-encoding them as a static jpeg. Does the script work ok otherwise, without the animated gif?
from expose.
Related Issues (20)
- #main min-width of 830px causes horizontal scrolling HOT 2
- Sidebar links to sub directory instead of `subdirectory/index.html` HOT 2
- Can this be hosted with github pages? HOT 2
- Can hidden folders and files be ignored?
- Gallery Headers HOT 2
- feature request: download the whole album as zip HOT 1
- Reverse Numerical Sorting? HOT 1
- RSS Feed?
- IPTC and Exif data discarded HOT 1
- Unable to encode vp8 with sound
- Examples of where things go
- Expose site works locally, but not hosted on Amazon S3 HOT 1
- Example configs for Jack.ventures Jack.works
- Adding a background color to the text ? HOT 2
- Next Photo button
- Guide for use in Windows? HOT 2
- yaml makes text disappear in image HOT 1
- Missing required dependency rsync HOT 1
- Non-latin symbols in folder names does not supported
- Error on Windows
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 expose.