Page 2 of 2

Re: austrian basemap

Posted: Sun Mar 14, 2021 7:10 pm
by helwin
Ok sorry of course I meant opacity...

I found a good solution with storing a favorite "compare" set, and the "compare" slider displays automatically. Great!

Re: austrian basemap

Posted: Sun Mar 14, 2021 7:46 pm
by helwin
I am wondering what could be the cause of the quality deterioriation when comparing the original data and the alpinequest image?
ss.JPG
(60.89 KiB) Not downloaded yet

Re: austrian basemap

Posted: Sun Mar 14, 2021 8:42 pm
by helwin
Edit:

A similar deterioriation in image quality occurs when using plain image maps.

A 60 Mb .jpg file is imported and turns into a 38 Mb .pgd file...with less resolution...

Re: austrian basemap

Posted: Mon Mar 15, 2021 11:04 am
by Psyberia-Support
I am wondering what could be the cause of the quality deterioriation when comparing the original data and the alpinequest image?
You're not comparing the same images.
In the AQ screenshot, you can see there are some inlaid information (I can read "2019" and "geoland...") which is not added by the application. So even if the original image is the same, the one displayed in AQ had an extra processing done before being accessed by (and outside of) the app.
A similar deterioriation in image quality occurs when using plain image maps.
When importing images as maps, the application will (re)compress the imported images with its own parameters that are a good compromise between size and quality.
By default it uses the WEBP image format (with a claim of up to 34% less size than JPG for the same quality), and a compression quality of 80%.
If you don't care about size and just want the maximum quality, you can increase the compression quality with this user setting:

Code: Select all

maps.features.offlinemaps.formats.gen_import.image_quality=95
You can also force the application to use the JPG format with:

Code: Select all

maps.features.offlinemaps.formats.gen_import.image_format=JPG

Re: austrian basemap

Posted: Tue Mar 16, 2021 9:51 am
by helwin
You are right, it´s not the same data.

I contacted the folks at basemap.at and they say that they do not know the cause, but they will check it.

Concerning the imported maps, I guess I can also use .bmp instead of .jpg? Like ...image_format=BMP ?

What is the largest file size the app can handle?

Re: austrian basemap

Posted: Tue Mar 16, 2021 11:15 am
by Psyberia-Support
For the image formats, you can only use "PNG" (lossless), "JPG" (quality based on the "image_quality" parameter, from poor to almost lossless) and "WEBP" (quality based on the "image_quality" parameter, from poor to almost lossless).
Note that the PNG and WEBP formats support transparency, JPG not (so it's not suitable for layers with transparent background or areas).