Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use libpng and turbojpeg for better (?) performance #53

Open
kjetilly opened this issue Jun 12, 2013 · 1 comment
Open

Use libpng and turbojpeg for better (?) performance #53

kjetilly opened this issue Jun 12, 2013 · 1 comment

Comments

@kjetilly
Copy link
Member

Initial tests seems to indicate that with the correct performance settings libpng outperforms the current implementation. We should probably investigate this further. Alos, turbojpeg could be a nice alternative for jpeg-encoding.

@cdyk
Copy link
Contributor

cdyk commented Jun 12, 2013

The plan was to try implementing the PNG prediction filter on the GPU (as
the source image already is there and it should be very straight-forward to
do), so the current implementation is very simple and not at all optimized.
And AFAIRC libpng also uses zlib for compression - as we already do.

Jpeg is good for natural images, but not particularly well suited for the
images we generate, as they usually have lots of high-frequency content
(wireframe, text, geometry outlines etc).

Initial tests seems to indicate that with the correct performance settings
libpng outperforms the current implementation. We should probably
investigate this further. Alos, turbojpeg could be a nice alternative for
jpeg-encoding.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/53
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants