Mega Drive credits screenshots

From Sega Retro

PDF screenshots

Many of these PDF-format screenshots have been exported in weird image resolutions rather than the games' intended resolutions. Is there a way to render all the PDF-format screenshots at native resolutions without losing any of the image quality? --SorachiJirachi (talk) 17:46, 29 July 2022 (EDT)

extract and recompile I guess -Black Squirrel (talk) 07:13, 30 July 2022 (EDT)
I'm using ImageMagick to generate the PDFs from PNGs. The images are stored without distortion or modification, so they can be extracted without losing quality, and the resolution seems to be stored as metadata. I was using the default of 72 dpi, but I started using 150 dpi, which shows the right dimensions (or close enough) in the media viewer, using: convert -density 150 *.png credits.pdf && rm *.png
Although now the images appear too small when viewed in a PDF viewer at "100%" zoom (at least in Firefox, Chrome, and Preview on Mac OS); I think this is just a quirk of the PDF file format, though, since it's a document format created for print and text/vector graphics, and there's some interpretation going on with the viewers to display them at the ppi of the client's display. I don't think they're really meant to have a canonical size, though they may consist of raster images that do. --Typhoon (talk) 12:08, 30 July 2022 (EDT)
96dpi is the magic number -Black Squirrel (talk) 12:20, 30 July 2022 (EDT)
Or maybe it isn't, looking at what you've done with File:Shining Wisdom Saturn US credits.pdf - who knows -Black Squirrel (talk) 12:22, 30 July 2022 (EDT)