Comments (6)
Are there any dependencies that are probably missed in the container?
from pngquant.
Looking at pngquant.exe for 2.17, it looks like you might need a Microsoft Visual C++ Redistributable to run it.
I don't know if the container has such, but a quick google gave this page.
The screenshot you have shows pngquant 2.12, so I don't know if you might need a different version for that.
from pngquant.
@jibsen Thank you!
The image that I used doesn't have Microsoft Visual C++ Redistributable.
I have added these lines to my dockerbuild
file:
RUN Powershell Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
RUN choco install vcredist-all -y
(it install this choco package: https://community.chocolatey.org/packages/vcredist-all)
and it started to work!
Do you know what exact version of Microsoft Visual C++ Runtime is required? recommended? enough to have?
(to avoid installation of all version to my image)
from pngquant.
Glad to hear that worked!
Try this one: https://community.chocolatey.org/packages/vcredist140
from pngquant.
Yes, it also works.
from pngquant.
I think the issue could be closed, but better to document it.
from pngquant.
Related Issues (20)
- [Minor typo I think] https versus http links on the homepage at: https://pngquant.org/releases.html HOT 1
- [Feature Request] Updating Windows binary version on pngquant.org HOT 5
- Feat.req. Upload new releases to Github Releases tab
- pngquant vs. oxipng HOT 1
- [feature request] constraint colors from given palette HOT 1
- Cannot Open file for reading in Ubuntu 21.04 (64 Bit) HOT 2
- resouce file in tar break some automated build
- Possibility of adding liq_image_create_argb() HOT 1
- no matching package named `imagequant-sys` found HOT 2
- Input and output parameters HOT 2
- on windows pngquant directs output to stderr not stdout HOT 1
- Feature Request: Option to skip image if it already has 256 colors or less. HOT 2
- tar error while installing with brew on macos HOT 3
- OpenMP warning on Clang systems HOT 1
- Windows Build - Executing from current directory should include exclusion for pngquant.exe HOT 1
- Using more than 4 bits per channel with posterization HOT 3
- Is it possible to keep fully transparent (0 alpha) areas of image fully transparent? HOT 2
- Supported on Apple silicon? HOT 1
- Option to preserve color for fully transparent pixels 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 pngquant.