Comments (3)
Dimensions was the problem, thanks ~
from gif-encoder.
When I check the jpeg file it is a valid jpeg image
from gif-encoder.
The code looks reasonable to me. I have a few things I'd sanity check on:
- Are the dimensions correct?
- Is the
pixels
data in RGB or RGBA? (gif-encoder
expects RGBA, https://github.com/twolfson/gif-encoder)- Bonus sanity check here:
pixels.length
should equalwidth * height * 4
(width * height * RGBA)
- Bonus sanity check here:
Hope that helps =)
from gif-encoder.
Related Issues (20)
- about GIF memory limit exceeded HOT 8
- PNG file streams? HOT 3
- Size very big HOT 1
- Wow. What ? HOT 3
- setRepeat not working HOT 1
- Create a promise with pixels as entry, gif as resolve HOT 4
- programmatically improve GIF size HOT 14
- question regarding the palette HOT 2
- How to Keep origin gif transparent HOT 1
- Relocate NeuQuant and LZWEncoder to their own repositories
- Broken gifs with jimp images? HOT 1
- Gif has low quality / noise HOT 2
- Quality and File Size Issues(Doesn't look like gif limitations) HOT 4
- Is the correct value UNLICENSED for the licenses field in package.json? HOT 1
- Allow for streaming write into `gif-encoder` HOT 1
- Create bin script for encoding of images into gifs
- Bugfix for broken transparency HOT 24
- image size HOT 5
- Add image frame to gif HOT 1
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 gif-encoder.