GSoC/2021/StatusReports/Sachinjindal: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2021‎ | StatusReports
Line 38: Line 38:


[[File:Pin.jpg|Pinned images, Un-Pinned images]]
[[File:Pin.jpg|Pinned images, Un-Pinned images]]
==== Related Commits ====
[https://invent.kde.org/graphics/krita/-/merge_requests/901/diffs?commit_id=643515b844088b0899e3ee20cfe80eb217239dc3 Add Pin/ Unpin options for reference images]
[https://invent.kde.org/graphics/krita/-/merge_requests/901/diffs?commit_id=ecf0c5045fd6028fd5abd77ea4201d6ca82e81e0 Fix Zoom position & Polish the UI]
[https://invent.kde.org/graphics/krita/-/merge_requests/901/diffs?commit_id=b00922e4b9d5cc735bf91cce90f457ade5fbaff2 Add Pin/unpin for Zoom]


=== Integrate Crop ===
=== Integrate Crop ===

Revision as of 10:44, 18 August 2021

Reference Images Improvement

Reference Image Tool in Krita aid artists to draw seamlessly with photo referencing. This project aims to improve the tool to include some additional features that will be helpful to the artists .. With the addition of new features, Reference Image Tool will be more interactive and easier to use.

Mentors

Wolthera van Hövell

Agata Cacko (tiar)

Halla Rempt

Project Goals

  • Pin Reference Image to canvas.
    • Status: DONE
  • Integrate Crop.
    • Status: DONE
  • Update & sync the reference image.
    • Status: DONE

Links

Merge Request

Phabricator

Short Video

Work Report

Pin Reference Images

Goal of this feature is to provide an option to apply the canvas modifications to reference images based on the option selected in the Tool widget. This is implemented with four options position, zoom, rotate & mirror to allow them to be manipulated with canvas or image modifications .

Bug Request : Link

This is a great mock-up of this feature from Bugzilla.

Pinned images, Un-Pinned images

Integrate Crop

This feature allows the reference images to be Cropped inside the Tool like the Crop Tool . Crop rectangle can be easily modified with the handles on the images and the sliders in the Tool box . The final crop action is in-destructible so the images is not lost and can be restored later on easily with the undo as well.

Bug Request : Link

Related Commits

Add crop options in RI widget

Implement KisReferenceImageCropDecoration

Add a CropReferenceImages command

Use mergeWith() in Crop to avoid adding same commands

Sync Reference Images

This feature updates the image with latest modifications . Since references are not meant to be modified , but they can be modified like other files in Krita and uploaded with any rectifications . So this will keep track of any modifications done to them and uploads it correctly . This is done via QFileSystemWatcher class and this functionality exists in Krita for some layers already .

This is shown in the last part of the demo video in which the yellow line is shown in the reference images.

Future Deliverables

Though the Project is complete and a great summer has come to an end but I will keep contributing and adding more features and bug fixes to the Reference Images in Krita.

Blogs