Summary: | Can not save/export images in pdf file | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | widon1104 <widon1104> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | aacid, bugseforuns, comeniusmar, daniel-other+kdebug, dav1dblunk3tt, giecrilj, jesterflint007, jonathan, luna, nate, oliver.sander, steffen |
Priority: | NOR | ||
Version: | 20.12.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=301302 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
widon1104
2019-04-13 03:59:21 UTC
How is this *major*? Come on don't play with that, only makes you look silly. You can just use a screenshot tool like anyone would do, if you want to feel like a pro use pdfimages. As Albert mentions, you can just take a screenshot of the image. That's the easiest way to accomplish what you're looking to do. This doesn't seem like the kind of thing Okular needs to support when it's such a niche use case with an easy alternative. Take a screenshot of the image is not a good solution. If I take a screenshot of the image I will get a bad resolution image and sometimes the image is so big and hard to take a screenshot. I find the gnome evince have this feature to save the image, so I use evince now. I hope okular will add this feature to make okular better. Yes, it's a valid wish. As point of control kpdf used to have this and i think there's still some code in Okular that pretends to support it, we just never finished that feature. Oh OK, cool! Do you remember where that code is? (In reply to Oliver Sander from comment #6) > Do you remember where that code is? ui/pageview.cpp menu.addAction( new OKMenuTitle( &menu, i18n( "Image (%1 by %2 pixels)", selectionRect.width(), selectionRect.height() ) ) ); But that doesn't save the actual image, but rather its rendering at the current solution, right? (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 *** Bug 424234 has been marked as a duplicate of this bug. *** *** Bug 419394 has been marked as a duplicate of this bug. *** *** Bug 149798 has been marked as a duplicate of this bug. *** *** Bug 311043 has been marked as a duplicate of this bug. *** *** Bug 431435 has been marked as a duplicate of this bug. *** *** Bug 442131 has been marked as a duplicate of this bug. *** LibreOffice can do this. |