Questions tagged [pngquant]
39 questions
0
votes
1 answer
pngquant doesn't work with php
I have installed pngquant on a mac and on a linux running centos 7. On both machines I can use it with command line, but if won't work when the same command is run in php.
Linux commands I tried:
yum install pngquant
says it succesfully installed…

sanjihan
- 5,592
- 11
- 54
- 119
0
votes
1 answer
Mattermost compilation failed (Ubuntu 16.06)
I'm trying to compile Mattermost on Ubuntu (I have Node 7.x installed, and even tried this with 6.x) but am getting the following types of errors:
[701] ./images/favicon/apple-touch-icon-120x120.png 471 bytes {60} [built] [failed] [1 error]
[702]…

ankush981
- 5,159
- 8
- 51
- 96
0
votes
0 answers
Java pngquant on java not compiling into dll and jnilib
I was trying to make libimagequant library work in java but I can't make the "dll" and can't make the "jnilib", I don't know why but it just doesn't work, if somebody could help it would be awesome.
I have already tried to make the "Makefile" but it…

IRONALEKS
- 50
- 10
0
votes
1 answer
content instead of path in shell
Pngquant has the following example for php
// '-' makes it use stdout, required to save to $compressed_png_content variable
// '<' makes it read from the given file path
// escapeshellarg() makes this safe to use with any path
…

user2650277
- 6,289
- 17
- 63
- 132
0
votes
0 answers
pngquant takes so much time to compress larger images
I am using pngquant for image compression with gulp. I have an asset folder with lots of png images. The most images have arround 100kb file size, but there are about two or three images with a file size of about 2MB.
when i start my gulp task using…

Marten Zander
- 2,385
- 3
- 17
- 32
0
votes
0 answers
Reducing size of png using pngquant applicatipon
i have millions of map tiles as png format. All files in subdirectories like 0/0/0.png,1.png...
how can i reduce size of my all png using pngquant batch command
0
votes
1 answer
Install pngquant on apache server and use it in command shell
First, I am trying to compress png images using https://pngquant.org/, but I didn't know how to download it on Apache server (Windows). The browser hits an error that pngquant is not installed on server (xampp). How do I do that?
Second, do I have…

Hala Ba
- 249
- 3
- 21
0
votes
2 answers
Are there any samples of visible color loss when using pngquant library/algorithm?
I would like to start using pngquant library in our product to improve our custom png compression. But png quant is lossy and it is going to be a hard sell. The main objection that I will get is we can't loose colors/quality.
Are there any…

vmg
- 9,920
- 13
- 61
- 90
-1
votes
1 answer
Is this escaped shell command wrong
Here is my escaped shell command which I run through exec command in PHP:
C:^\Program Files^\pngquant^\pngquant.EXE \"--force\" \"--ext=.png\" \"--\" \"F:\laragon\www\demo\images\uploads\43d67cba7a951378485882e5b515c825943f7d0a.png\"
I get return…

Samar Rizvi
- 300
- 1
- 9