Actions

File talk

Difference between revisions of "NewComputerExpress UK 012.pdf"

From Retro CDN

(Created page with "Anyone know how to get PDF resolution to be recognised correctly? This one is really 1440P, but retrocdn thinks it's only 212P--~~~~")
 
Line 1: Line 1:
 
Anyone know how to get PDF resolution to be recognised correctly? This one is really 1440P, but retrocdn thinks it's only 212P--[[User:Pirate Dragon|Pirate Dragon]] ([[User talk:Pirate Dragon|talk]]) 11:40, 3 April 2020 (EDT)
 
Anyone know how to get PDF resolution to be recognised correctly? This one is really 1440P, but retrocdn thinks it's only 212P--[[User:Pirate Dragon|Pirate Dragon]] ([[User talk:Pirate Dragon|talk]]) 11:40, 3 April 2020 (EDT)
 +
:Technically it ''is'' being recognised correctly.
 +
:The system generates thumbnails based on the width/height information stored in the PDF, and this one claims the page size is 1.55 x 2.21 inches.
 +
:Which means, if rendered on a 96dpi display, the calculation comes out as 2.21 x 96 = 212.16, which is rounded off as 212. I think this means if you measure the thumbnail with a ruler, you'll get those values in inches (assuming you're using a 96dpi display (and that's a big assumption - I'm not!))
 +
 +
:The solution is to edit the PDF. But I don't know how to do that cleanly.
 +
 +
:It's probably making the right decision, as most PDFs in the world consist of just text, so it needs something to determine the page size. In our case, we'd want the page sizes to be automatically calculated based on the size of the image.
 +
 +
:... and it's doing that too! Because even though the dimensions of that first JPEG are 929x1328 pixels... the JPEG also says it's 600dpi. (1328/600) * 96 = 212-ish.
 +
 +
:So it's actually 100% correct... if you care at all about dpi. Which we don't (and the old PDF extension didn't either), so it looks like garbage. -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 16:30, 3 April 2020 (EDT)

Revision as of 16:30, 3 April 2020

Anyone know how to get PDF resolution to be recognised correctly? This one is really 1440P, but retrocdn thinks it's only 212P--Pirate Dragon (talk) 11:40, 3 April 2020 (EDT)

Technically it is being recognised correctly.
The system generates thumbnails based on the width/height information stored in the PDF, and this one claims the page size is 1.55 x 2.21 inches.
Which means, if rendered on a 96dpi display, the calculation comes out as 2.21 x 96 = 212.16, which is rounded off as 212. I think this means if you measure the thumbnail with a ruler, you'll get those values in inches (assuming you're using a 96dpi display (and that's a big assumption - I'm not!))
The solution is to edit the PDF. But I don't know how to do that cleanly.
It's probably making the right decision, as most PDFs in the world consist of just text, so it needs something to determine the page size. In our case, we'd want the page sizes to be automatically calculated based on the size of the image.
... and it's doing that too! Because even though the dimensions of that first JPEG are 929x1328 pixels... the JPEG also says it's 600dpi. (1328/600) * 96 = 212-ish.
So it's actually 100% correct... if you care at all about dpi. Which we don't (and the old PDF extension didn't either), so it looks like garbage. -Black Squirrel (talk) 16:30, 3 April 2020 (EDT)