hnesk/browse-ocrd

DPI setting works only for png files

Opened this issue · 1 comments

hnesk commented

Remove it or implement for other image types, too

image_bytes = add_dpi_to_png_buffer(image_array.tostring(), dpi)

IIUC the PNGs created by ocrd_browser are only for ad-hoc viewing. So how can we utilise or show the (original) image DPI?