mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #165: Insert > Inline Text latency issues on Flatpak and Appimage packages
This commit is contained in:
@ -3021,6 +3021,11 @@ void PDFPageContentProcessor::paintXObjectImage(const PDFStream* stream)
|
||||
|
||||
if (!image.isNull())
|
||||
{
|
||||
if (PDFImage::canBeConvertedToMonochromatic(image))
|
||||
{
|
||||
image.convertTo(QImage::Format_Mono);
|
||||
}
|
||||
|
||||
performImagePainting(image);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user