one-file-pdf icon indicating copy to clipboard operation
one-file-pdf copied to clipboard

PNG embedding is slow

Open balacode opened this issue 6 years ago • 0 comments

Noticeable time (about 1 second) is spent when generating png_images.pdf

  • Is the library regenerating every PNG image, even if it is repeated?
  • If decoding and re-encoding the image data in a PDF stream is a slow operation, then goroutines could be used to speed up the process.

balacode avatar Mar 14 '18 12:03 balacode