We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b604b1 commit ca16a08Copy full SHA for ca16a08
api/pdfrenderer.cpp
@@ -709,11 +709,6 @@ bool TessPDFRenderer::imageToPDFObj(Pix *pix,
709
L_COMP_DATA *cid = NULL;
710
const int kJpegQuality = 85;
711
712
- // TODO(jbreiden) Leptonica 1.71 doesn't correctly handle certain
713
- // types of PNG files, especially if there are 2 samples per pixel.
714
- // We can get rid of this logic after Leptonica 1.72 is released and
715
- // has propagated everywhere. Bug discussion as follows.
716
- // https://code.google.com/p/tesseract-ocr/issues/detail?id=1300
717
int format, sad;
718
findFileFormat(filename, &format);
719
if (pixGetSpp(pix) == 4 && format == IFF_PNG) {
0 commit comments