Comments (4)
No — the CLI that accompanies the library is very basic and can only compare PNGs. We might want to add JPG support though, e.g. with https://github.com/eugeneware/jpeg-js
from pixelmatch.
I would also love it if you could add JPEG support. It could help with this issue: americanexpress/jest-image-snapshot#209 which is important as jest tests can be a lot faster when using jpeg instead of png.
from pixelmatch.
Oh, right now i'm getting Error: Invalid file signature
btw.
from pixelmatch.
Please consider adding JPEG/JPG support 👍
from pixelmatch.
Related Issues (20)
- The problem is me or the lib? HOT 2
- Image data: Uint8Array, Uint8ClampedArray or Buffer expected. HOT 3
- Comparing two pictures with different text returns no diff HOT 2
- View
- Sam
- Avoid generating diff images with no differences in it
- way to merge the diff HOT 1
- Image accuracy
- Weird comparator behaviour. HOT 1
- True or false for same image? HOT 2
- How can I group the differences or determine if there is a common change among them? HOT 1
- install in browser not work HOT 3
- Change Rate Limit Request HOT 1
- Can you provide an executable file for a windows? HOT 1
- can i get quantitative value? HOT 1
- CDN script error: module not defined HOT 2
- Following the doc but "Image data: Uint8Array, Uint8ClampedArray or Buffer expected." is still thrown. HOT 2
- CommonJS based require throws error HOT 1
- PixelMatch leakinng Data Buffer HOT 1
- Typescript support
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 pixelmatch.