Difference between revisions of "Mega Drive credits screenshots"

From Sega Retro

Line 2: Line 2:
 
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? --[[User:SorachiJirachi|SorachiJirachi]] ([[User talk:SorachiJirachi|talk]]) 17:46, 29 July 2022 (EDT)
 
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? --[[User:SorachiJirachi|SorachiJirachi]] ([[User talk:SorachiJirachi|talk]]) 17:46, 29 July 2022 (EDT)
 
:[[cdn:File:PDFImageSplitter.7z|extract]] and [[cdn:File:JPEGtoPDF.7z|recompile]] I guess -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 07:13, 30 July 2022 (EDT)
 
:[[cdn:File:PDFImageSplitter.7z|extract]] and [[cdn:File:JPEGtoPDF.7z|recompile]] I guess -[[User:Black Squirrel|Black Squirrel]] ([[User talk: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: <code>convert -density 150 *.png credits.pdf && rm *.png</code>
 +
 +
: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. --[[User:Typhoon|Typhoon]] ([[User talk:Typhoon|talk]]) 12:08, 30 July 2022 (EDT)

Revision as of 11:09, 30 July 2022

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)