- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 26 Jul 2013 09:34:01 -0700
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style list <www-style@w3.org>
On Fri, Jul 26, 2013 at 7:36 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > Hi, > > In TIFF and JPEG (EXIF), the resolution metadata can be specified as two > fields: Resolution X and Resolution Y. Although I expect the two to be the > same (when set at all) in most real images, what should a UA do when they’re > different? 'image-resolution: from-image' expects a single value. > > I think there is no good answer to this, but I dislike leaving it undefined. > I suggest specifying something arbitrary. For example: > > If the image specifies two different resolutions for the horizontal and > vertical direction, the average of the two values is used: > <code>(horizontal + vertical) / 2 <code> I didn't realize this was even possible! We could either allow image-resolution to take two values, or decide on how to merge two values into one. I'm okay with ignoring one of the dimensions, but is there one we should prefer? Liam suggests that horizontal resolution is more important to preserve, at least for images containing text. ~TJ
Received on Friday, 26 July 2013 16:34:48 UTC