Skip to main content

raster_sizing_dpi

Function raster_sizing_dpi 

Source
pub fn raster_sizing_dpi(
    path: &str,
    pixels: (f64, f64),
    warn: bool,
) -> (f64, f64)
Expand description

The resolution pdfTeX sizes a raster of pixels at, as \pdfximage does (pdftex.web:34488-34515): its own (raster_resolution_dpi), else \pdfimageresolution (pdf_image_resolution), with pdfTeX’s Warning, when warn, if it ignores one the file states.