On Mon, Mar 17, 2014 at 2:03 AM, gary sheppard <rhyo...@gmail.com> wrote: > Does the upstream for QGraphicsView accept patches...? > I have been quietly following this project with real interest.
It's not the problem of qt4 QGraphicsView. It seems to be the limitation of QPainter and it's a known bug. https://bugreports.qt-project.org/browse/QTBUG-30682 Of course, it's easy to scale the image using QImage and keep an copy of the scaled image around. Then, set the scaled image to a QLabel, but that's not a good solution. This simple way, however, can increases the memory usage dramatically when the image is enlarged a lot. So, we need to use some more difficult ways to avoid the memory copy. Luckily, I already figured out a new way to workaround this today. :-) > Gary > > > On Sun, Mar 16, 2014 at 7:42 AM, PCMan <pcman...@gmail.com> wrote: >> >> Please see the blog post for the latest screenshot. >> http://blog.lxde.org/?p=1086 >> >> Here is a brief list of recent changes: >> * Printing support added >> * Thumbnail preview (the bottom pane on the screenshot) >> * Built-in tool to take a screenshot >> * Slide show support >> * Improved fullscreen support >> * Improved preference dialog >> * File properties dialog added >> >> The image viewer is fully functional and usable now. >> So, I think it's time to update the translations for it. >> >> BTW, there is an unresolved problem. >> When scaling down larger images to fit the smaller window, the image >> quality is quite poor. >> There's no simple solution to this issue. It's the limitation of >> QGraphicsView. >> When enlarging the image, Qt uses smooth transformation so it works fine. >> However this is not the case when shrink larger images. >> The only way to avoid this is implementing my own view widget and do >> image scaling by manipulating QImage objects directly, which is >> non-trivial. >> Maybe I should leave this for the next release. >> >> Cheers! >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Razor-qt" group. >> For more options, visit this group at >> http://groups.google.com/group/razor-qt?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Razor-qt" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to razor-qt+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > -- > You received this message because you are subscribed to the Google > Groups "Razor-qt" group. > For more options, visit this group at > http://groups.google.com/group/razor-qt?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Razor-qt" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to razor-qt+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list