[okular] [Bug 406489] Can not save image in pdf file use okular

Albert Astals Cid bugzilla_noreply at kde.org
Tue Apr 16 18:12:34 BST 2019


https://bugs.kde.org/show_bug.cgi?id=406489

--- Comment #9 from Albert Astals Cid <aacid at kde.org> ---
(In reply to Oliver Sander from comment #8)
> But that doesn't save the actual image, but rather its rendering at the
> current solution, right?

Sure, it's not like it works, otherwise there would be no bug ;)

But actually what i meant was

const Okular::ObjectRect * rect = pageItem->page()->objectRect(
Okular::ObjectRect::Image, nX, nY, pageItem->uncroppedWidth(),
pageItem->uncroppedHeight() );
                        if ( rect )
                        {
                            // handle right click over a image
                        }

It doesn't work because a) we don't handle it and because b) [almost] no
generator creates rects of type Okular::ObjectRect::Image

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list