Skip to content

Commit

Permalink
FIX: typo on png compression filter
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyossi committed Dec 16, 2013
1 parent b83eb34 commit 5136405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artscript2.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@ proc getResize { size dsize } {
proc getQuality { ext } {
switch -glob -- $ext {
jp*g { set quality "-sampling-factor 1x1,1x,1x1 -quality $::artscript(image_quality)" }
png { set quality "-type TrueColorMatte -define png:format=png32 -define png:compression-level=$::artscript(image_quality) -define png:compresion-filter=4" }
png { set quality "-type TrueColorMatte -define png:format=png32 -define png:compression-level=$::artscript(image_quality) -define png:compression-filter=8" }
gif { set quality "-channel RGBA -separate \( +clone -dither FloydSteinberg -remap pattern:gray50 \) +swap +delete -combine -channel RGB -dither FloydSteinberg -colors $::artscript(image_quality)" }
webp { set quality "-quality $::artscript(image_quality) -define webp:auto-filter=true -define webp:lossless=true -define webp:method=5" }
webp* { set quality "-quality $::artscript(image_quality) -define webp:auto-filter=true -define webp:lossless=false -define webp:alpha-quality=100"}
Expand Down

0 comments on commit 5136405

Please sign in to comment.