Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Guix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
inf
Guix
Commits
6b61dea3
Unverified
Commit
6b61dea3
authored
5 years ago
by
Hartmut Goebel
Browse files
Options
Downloads
Patches
Plain Diff
gnu: Add pngquant.
* gnu/packages/image.scm (pngquant): New variable.
parent
8db1bd18
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnu/packages/image.scm
+44
-0
44 additions, 0 deletions
gnu/packages/image.scm
with
44 additions
and
0 deletions
gnu/packages/image.scm
+
44
−
0
View file @
6b61dea3
...
@@ -337,6 +337,50 @@ (define-public libimagequant
...
@@ -337,6 +337,50 @@ (define-public libimagequant
and other PNG optimizers."
)
and other PNG optimizers."
)
(
license
license:gpl3+
)))
(
license
license:gpl3+
)))
(
define-public
pngquant
(
package
(
name
"pngquant"
)
(
version
"2.12.3"
)
(
source
(
origin
(
method
git-fetch
)
(
uri
(
git-reference
(
url
"https://github.com/kornelski/pngquant.git"
)
(
commit
version
)))
(
file-name
(
git-file-name
name
version
))
(
sha256
(
base32
"1yiwbcihn4311fpfd568gg8zmmhqwg80jmhbhkb5msiipgd9xv33"
))))
(
build-system
gnu-build-system
)
(
arguments
`
(
#
:test-target
"test"
#
:configure-flags
'
(
"--with-openmp"
"--with-lcms2"
)))
(
native-inputs
`
((
"pkg-config"
,
pkg-config
)))
(
inputs
`
((
"libpng"
,
libpng
)
(
"zlib"
,
zlib
)
(
"lcms"
,
lcms
)
(
"libimagequant"
,
libimagequant
)))
(
home-page
"https://pngquant.org/"
)
(
synopsis
"Utility and library for lossy compressing PNG images"
)
(
description
"pngquant is a PNG compressor that significantly reduces file
sizes by converting images to a more efficient 8-bit PNG format with alpha
channel (often 60-80% smaller than 24/32-bit PNG files). Compressed images
are fully standards-compliant and are supported by all web browsers and
operating systems.
Features:
@enumerate
@item High-quality palette generation using a combination of vector
quantization algorithms.
@item Unique adaptive dithering algorithm that adds less noise to images
than the standard Floyd-Steinberg.
@item Easy to integrate with shell scripts, GUIs and server-side software.
@item Fast mode for real-time processing/large numbers of images.
@end enumerate"
)
(
license
license:gpl3+
)))
(
define-public
libjpeg
(
define-public
libjpeg
(
package
(
package
(
name
"libjpeg"
)
(
name
"libjpeg"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment