png.tile -> jpg.tile

102 views
Skip to first unread message

Osmandtrier

unread,
May 22, 2013, 6:58:13 AM5/22/13
to osm...@googlegroups.com
Many tileservers are working with png-tiles. To save place on my SD-Card I want to convert the tiles to jpg.

I have tried irfanview. There are two problems.

1. The quality of the jpg-tles is poor instead the settings for the convertingquality is 100.

2. Irfanview add the extension jpg. I have to cut all this added extensions. Because I have so many tiles, Ant Renamer freeze.

Do anyone know a other solution?

Sabra Sharaya

unread,
May 22, 2013, 11:45:51 AM5/22/13
to osm...@googlegroups.com
These computer generated tiles seem to have a lot of redundancy though. Are you certain the jpg files use less space than the png?

Horst Müller

unread,
May 22, 2013, 2:58:45 PM5/22/13
to osm...@googlegroups.com
Hello there,
I did something similar (want to change the .tile extension to a .jpg extension, so that I can view the "small photos" directly). I used a batch-file. For you, the command might be something like:

for /r J:\osmand\tiles\ %%i in (*.jpg) do @echo ren "%%i" "%%~ni"
pause

the command "@echo" makes sure, that nothing is changed for now. It just shows you, what it would do, if you use the command without "@echo". So it's a safe run. If it does what you want, just delete this parameter and the real action goes on.

Still: I doubt you can save that much space. I believe companies already do use highly compressed files in order to reduce the necessary bandwidth.

Regards,
Horst


2013/5/22 Sabra Sharaya <sabras...@gmail.com>
These computer generated tiles seem to have a lot of redundancy though. Are you certain the jpg files use less space than the png?

--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages