Open Kristinita opened 5 years ago
Type: Partially worked π
From April 2019 lossygif is a part of gifsicle. ScreenToGIF users can execute post encoding command:
gifsicle --lossy=200 --batch {p}
ShortPixel have a Command Line Tool. Problems, why I don't close this issue:
my output:
D:\SashaForks\shortpixel-php\lib>php cmdShortpixelOptimize.php --api-key=<My real API key> --folder=D:\SashaDebugging\KiraShortPixel
CLI5ec91535960c5@2020-05-23 12:21:09 (0.00s) (M: 1,188,128) > cURL is not enabled. ShortPixel needs Curl to send the images to optimization and retrieve the results. Please enable cURL and retry.
It strange, because I have even 4 cURL instances:
D:\SashaForks\shortpixel-php\lib>where curl
C:\Windows\System32\curl.exe
D:\Chocolatey\bin\curl.exe
D:\Scoop\apps\miniconda3\current\Library\bin\curl.exe
C:\Program Files\Git\mingw64\bin\curl.exe
Thanks.
Indeed, it only takes a whole folder. You would need to save the file to a folder with nothing else inside, to use that service.
Anyway, I added a macro to the post encoding commands: {u} = URL of the file uploaded.
Not sure if it helps.
1. Summary
It would be nice, if lossygif and ShortPixel will integrated to ScreenToGIF. See
Examples of expected behavior
section for details.2. Argumentation
As I say in this issue, ScreenToGIF create big size images. I hope, the situation will change in the future, but at January, 2019, browsers doesn't work normally with big animated images. It would be nice, if would be possible simply optimize images.
3. Table
3.1. Disclaimer
Tested on January 30, 2019. In the future users can get another results for programs and services in table.
3.2. Environment
ScreenToGIF 2.16
3.3. Data
3.4. Excluded services
I don't include to table services, that doesn't support my 23,4 Mb GIF. Examples:
4. Table
gifsicle -i Kira.gif -O3 --colors 128 -o Kira__gifsicle256.gif
gifsicle -i Kira.gif -O3 --colors 256 -o Kira__gifsicle256.gif
5. Winner
Big compression & normal quality.
6. lossygif problems
choco install visualstudio2017community -y
β I add path tonmake.exe
as value of myPATH
environment variable β no success:I think, that set lossygif may be hard for another ScreenToGIF users too.
7. Examples of expected behavior
7.1. lossygif
To ScreenToGIF will add a setting
lossygif
. If value istrue
, user need to setlossygif_compression_level
; possible integer values from0
to200
. See setting description.If both settings enabled, GIF will automatically compress by lossygif after creating.
7.2. ShortPixel
For ShortPixel I also have good result and this service have a normal limit for free users β 100 images in month. API documentation.
To ScreenToGIF will add a setting
shortpixel
. If value istrue
, user need to setshortpixel_api_key
.If both settings enabled, GIF will automatically compress by ShortPixel after creating.
Thanks.