Changes the brightness of image using GammaAdjust QtGraphicalEffects
ClosedPublic

Authored by atulsharma on Aug 22 2017, 7:23 PM.

Details

Summary

Refs T6268

  • uses grabToItem function to capture the modified image
Test Plan

there is just one problem the size of the image changes

Diff Detail

Repository
R659 Koko Image Gallery
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
atulsharma created this revision.Aug 22 2017, 7:23 PM
mart added inline comments.Aug 22 2017, 8:12 PM
qmlUiKirigami/ImageViewer.qml
362

this should probably be enabled only when not saved: once saved, the image should be reloaded and then the effect disabled (and hopefully with a bit of luck looking the same)

atulsharma updated this revision to Diff 18557.Aug 22 2017, 9:09 PM

Reloads the image after it is saved

mart accepted this revision.Aug 22 2017, 9:54 PM
This revision is now accepted and ready to land.Aug 22 2017, 9:54 PM
lrobinson removed a subscriber: lrobinson.
This revision was automatically updated to reflect the committed changes.