<table><tr><td style="">murveit created this revision.<br />murveit added a reviewer: mutlaqja.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />murveit requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28935">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of creating a scaled image, let Qt do the work.<br />
This saves half the memory when zooming 200% or 300%.<br />
I also limited the zoom to 300% running out of memory has been<br />
an issue for users. This change was relatively straight-forward<br />
for the image rendering, but there was complexity with the<br />
overlays drawn, espcially those rendering text.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Load an image, zoom in. You should be limited to 300%. You should notice less than <br />
1Gb of memory use from a ~20megapixel camera, whereas this would be over 2.5Gb <br />
previously. Try the various overlays. They should work the same as before (some line<br />
widths may be slightly different, but I tried to match the previous rendering.<br />
Similarly, test focus, align, guide views, zooming in and so forth.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>fitsviewer-zoom-memory (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28935">https://phabricator.kde.org/D28935</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/fitsviewer/fitsview.cpp<br />
kstars/fitsviewer/fitsview.h</div></div></div><br /><div><strong>To: </strong>murveit, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>