typst/svg2pdf

Grey scale PNG images

EQt opened this issue · 0 comments

EQt commented

Consider the example image_qr.svg: the included PNG is a grey scale image. Hence in the resulting PDF in the ImageXObject header we correctly find

  /ColorSpace /DeviceGray

However, the pixel data is sampled in RGB (see and here) and therefore every pixel is repeated three times which looks strange.