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

Added Alpha Channel increase file size #3

Open
dagjomar opened this issue Jan 28, 2014 · 1 comment
Open

Added Alpha Channel increase file size #3

dagjomar opened this issue Jan 28, 2014 · 1 comment

Comments

@dagjomar
Copy link

Comparing the file sizes of an original colored tile from OSM (http://tile.openstreetmap.org/3/2/4.png) @ 7.3 KB
and
The converted greyscale image, which is @ 14.4 KB (twice the size)

After looking at the properties of the two images, I found that the greyscale image has added Alpha Channel information, which results in the 7KB increase.

So... it could probably be optimized ^^

@Zverik
Copy link
Owner

Zverik commented Jan 29, 2014

Well, it's just twice, and I doubt that alpha channel is the sole cause for the size increase: new tiles differ from old, and compression algorithm may be different. If you have the time, pull request to fix this would be welcome :)

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

No branches or pull requests

2 participants