Save uncropped image.

3 posts, 0 answers
  1. 선정
    선정 avatar
    7 posts
    Member since:
    Apr 2019

    Posted 21 Jul 2019 Link to this post

    Hi.

    When clicked crop item and then directly press save button, cropped image is saved.It seems cropped result image save.

    What i want  no cropping just save image. Please refer to the file for details.

    How can i get uncropped image.

    Please give me advise. 

    Thanks reading this post.

  2. 선정
    선정 avatar
    7 posts
    Member since:
    Apr 2019

    Posted 21 Jul 2019 in reply to 선정 Link to this post

    Sorry, please refer to this file
  3. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2444 posts

    Posted 24 Jul 2019 Link to this post

    Hello,

    To achieve your requirement you can create a custom SaveImageCommand and override its ExecuteOverride method. There you can check if the executing tool is CropTool. In this case, avoid committing the tool. You can assign the custom command to the RadImageEditorUIcontrol via its SaveCommand property. I've attached a small example showing this. I hope it helps.

    Regards,
    Martin Ivanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top