ThinkGeo.com    |     Documentation    |     Premium Support

Image size too large

Hello,

I have ONE user, and one user only who cannot upgrade to my latest version of the software (with 14.3.0), because he keeps getting a problem with a WMS aerial photo service.
Het keeps getting ‘Image size too large’. We cleared the tilecache several times.

It should look like this:

He is still using an old version of my software with WPF DLL 14.3.0-beta053, which works just fine on his computer.
I don’t know if this is truly the latest working version, because I don’t have a backup of every version.

Any idea what might cause this issue ?

Kind regards,
Guido van den Boom

Hi,

is he possibly using Remote Desktop on a computer with a very high screen resolution to use your application?

I‘m having the same issue when I‘m using my notebook with a 4K screen but no issue when l‘m using an older notebook with a FullHD screen.

Regards,
Peter

Hi,

I noticed he had an external screen with high resolution, but also with only the screen of his laptop (1920x1080) he has the same issue.
I have a 34" widescreen, but no problem at all.

I will ask him to only use his laptop screen and downgrade the resolution, to check if that solves the issue.

Thanks for your help.

Regards,
Guido

When I‘m directly working on the machine I have also no issues at all. With any resolution.

Only via RDP I cannot use the hi-res notebook. The image size requested from the WMS is then much larger than allowed by the WMS.

Regards,
Peter

Hi Peter, thanks for chiming in and help! You are right and this issue is related to DPI.

Hi Guido, I bet your customer is on a high-res computer. It doesn’t matter if he’s on a 4k or 2k monitor (because you are using multiple tile), it matters if the Display Scale is high.

For example, if the TileSize is 512 * 512 and the above Scale is set to 200%, for each tile we will request a 1024 * 1024 image to avoid the pixelation on a high DPI screen.

I just uploaded a new package 14.4.0-beta005 where we fixed an issue that the WMS Layer request larger than necessary image, can you pull this version? It reduces the download image size if the Scale is not 100%.

And to be safe, you can change the tile size from 512 * 512 to 256 * 256, (or even 128*128), to reduce the size of each request image

wmsOverlay.TileWidth = 256;
wmsOverlay.TileHeight = 256;

And @Peter_Bernhardt1, I think it will fix your remote desktop issue after upgrading to beta005. If you still see the issue, make sure the overlay is using MultiTile and you can narrow down the tilesize to 256 and have another try.

Thanks,
Ben

Hello,

My colleague confirms it’s the 150% setting that is causing the problem.
He changed it to 100% for now, untill I implement your solution.
Strange it does work in beta053 (?)

If I run into problems after the update, I will let you know.

Regards,
Guido

Hi Guido,

We didn’t add the WMS high‑DPI support until after Beta053. The old version (beta053 and previous) would look a little blurry on high‑DPI displays.

Sure, let us know if you have any questions.

Thanks,
Ben