From dstr7320 at uni.sydney.edu.au  Mon Feb 13 01:00:07 2017
From: dstr7320 at uni.sydney.edu.au (Dario Strbenac)
Date: Mon, 13 Feb 2017 00:00:07 +0000
Subject: [Rd] Grapics Device Resolution Limits
In-Reply-To: <16afdf42-2d7b-c483-8da1-0f27fb17dc2f@stats.ox.ac.uk>
References: <MWHPR01MB27011180C046283EE5E82B44CD440@MWHPR01MB2701.prod.exchangelabs.com>
	<22685.61492.113047.478744@stat.math.ethz.ch>
	<37d1d5c0-17c0-38bb-c3bf-d5cc09920769@stats.ox.ac.uk>,
	<16afdf42-2d7b-c483-8da1-0f27fb17dc2f@stats.ox.ac.uk>
Message-ID: <MWHPR01MB27013A0A2215ED11BFE70D8ECD460@MWHPR01MB2701.prod.exchangelabs.com>

Good day,

> In general, the device-limits info is not on the help page because we do not know it.

It seems like it would be near-impossible to do in a cross-platform way.

> Normally you will get warning(s) accompanying that Error ...
> Warning: unable to allocate bitmap
> Warning: opening device failed

Yes, I saw those but omitted them from the question.

> Note that there are at least 5 separate png() devices, so Linux was not using the (default) device used on Windows.

That explains it.

> Try the other 2 types: the cairo devices do not use your graphics hardware nor MicroSoft's GDI.

Indeed, it works with the cairo backend.

> ... one could well ask what you can usefully do with such an image.

Unfortunately, some scientific journals have unrealistic figure requirements, e.g. http://www.jidonline.org/content/authorinfo#idp1498768

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia


[Rd] Grapics Device Resolution Limits
Dario Strbenac