ImageCropper.Forms | Xamarin.Forms plugin to crop and rotate photos | Form library

 by   stormlion227 C# Version: Current License: MIT

kandi X-RAY | ImageCropper.Forms Summary

kandi X-RAY | ImageCropper.Forms Summary

ImageCropper.Forms is a C# library typically used in User Interface, Form applications. ImageCropper.Forms has no vulnerabilities, it has a Permissive License and it has low support. However ImageCropper.Forms has 12 bugs. You can download it from GitHub.

Xamarin.Forms plugin to crop and rotate photos. Supports Android and iOS.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ImageCropper.Forms has a low active ecosystem.
              It has 73 star(s) with 49 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 33 open issues and 6 have been closed. On average issues are closed in 45 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ImageCropper.Forms is current.

            kandi-Quality Quality

              ImageCropper.Forms has 12 bugs (0 blocker, 0 critical, 3 major, 9 minor) and 0 code smells.

            kandi-Security Security

              ImageCropper.Forms has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ImageCropper.Forms code analysis shows 0 unresolved vulnerabilities.
              There are 2 security hotspots that need review.

            kandi-License License

              ImageCropper.Forms is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ImageCropper.Forms releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 535 lines of code, 0 functions and 32 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ImageCropper.Forms
            Get all kandi verified functions for this library.

            ImageCropper.Forms Key Features

            No Key Features are available at this moment for ImageCropper.Forms.

            ImageCropper.Forms Examples and Code Snippets

            No Code Snippets are available at this moment for ImageCropper.Forms.

            Community Discussions

            QUESTION

            how to stop activity indicator in imagecropper plugin, if user closes displayAlert?
            Asked 2021-Jun-09 at 19:16

            issue is that in step#2, if user doesnt pick a options or simply closes displayAlert than activityIndicator runs for ever. Any idea how can I stop Activity Indicator if user closed displayAlert (In Step#2)?

            ref: imagecropper plugin

            Below is the full flow of code that you see:

            1. On MainPage - Start loading using activityIndicator
            2. Open displayAlert, with 2 options: "upload image" or "take photo"
            3. Open camera
            4. Take Photo
            5. Conform photo
            6. go to main page and wait 2 seconds (this sucks but ok)
            7. open crop image editor
            8. Close crop image editor and go to main page
            9. Stop loading using activityIndicator

            defualt code from link

            ...

            ANSWER

            Answered 2021-Jun-09 at 19:16

            Sorry for late responses, actually I want to put this in comment, but it's really hard to read in comment. I guess you can try this code:

            Source https://stackoverflow.com/questions/67908734

            QUESTION

            android - How to take a photo and crop using ImageCropper.Forms?
            Asked 2021-May-10 at 08:15

            ill take any help here.. I am using xamarin and would like to:

            1. Click on button
            2. Open Camera
            3. Take photo
            4. Crop Photo
            5. Create Folder in Gallery
            6. Save Cropped photo in new folder in Gallery

            I am following tutorial - Ref: https://github.com/stormlion227/ImageCropper.Forms

            Currently, When I tap on button, Camera opens up, but it doesnt crops or saves photo. Since Camera opens up, that means my set up and perrmission are correct.

            Why this code isnt working from github and how can I crop photo? Please let me know what am I missing here.

            after doing some debugging, following code is not getting runned. i this issue is with properties

            ...

            ANSWER

            Answered 2021-May-10 at 08:15

            The plugin you used is too old. You could use ImageCropper.Forms.Fix.v2 instead.

            Add the code below in your MainActivity:

            Source https://stackoverflow.com/questions/67463690

            QUESTION

            ImageCropper.Forms is not working in ios platform (System.MissingMethodException)
            Asked 2021-Feb-01 at 18:11

            I am using ImageCropper.Forms package for cropping images. It is working fine on the android part but when I try it on ios, I am getting the below exception:

            Exception:>System.MissingMethodException: Method not found: System.Threading.Tasks.Task`1 Plugin.Media.Abstractions.IMedia.TakePhotoAsync(Plugin.Media.Abstractions.StoreCameraMediaOptions) at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:84 at Stormlion.ImageCropper.ImageCropper.Show (Xamarin.Forms.Page page, System.String imageFile) [0x00033] in <548dc893a11b47fe908c9c3d7f4a39ba>:0 at ImageCropDemo.MainPage.OnClickedRectangle (System.Object sender, System.EventArgs e) [0x00002] in /Users/companyname/Downloads/ImageCropDemo/ImageCropDemo/ImageCropDemo/MainPage.xaml.cs:29

            Found the same question here, but it didn't solve my problem.

            My Code

            ...

            ANSWER

            Answered 2021-Jan-21 at 10:53

            The issue seems caused by the package itself . Here is a similar issue .

            If you do want to implement it you could use the plugin Xamarin.Plugin.ImageEdit to edit your image .

            Install it into your forms project and each platform project.

            Source https://stackoverflow.com/questions/65822989

            QUESTION

            Xamarin forms: How to implement image cropping after selecting a picture from gallery or camera
            Asked 2021-Feb-01 at 18:11

            I am using MediaPlugin for opening Camera and Gallery to select pictures. After selecting a picture, I need to crop it before setting it on the UI. I have tried AllowCropping = true in the camera, but it works only for windows and ios. For the camera in android and gallery on all platforms (android, ios, and windows) there is no crop option.

            I tried ImageCropper.Forms package to implement the image cropping feature.

            My Code:

            ...

            ANSWER

            Answered 2021-Jan-20 at 12:21

            First of all, Add ImageCropper.Forms.Fix.v2 nuget package to your project.

            Then, if you use AndroidX, please change the code in tag of AndroidManifest.xaml

            Source https://stackoverflow.com/questions/65805152

            QUESTION

            ImageCropper.Forms: How to get the stream & path value of the final cropped image?
            Asked 2021-Jan-21 at 13:55

            I am using ImageCropper.Forms for cropping the image selected from the camera and gallery.

            My Code:

            ...

            ANSWER

            Answered 2021-Jan-21 at 13:06

            as shown in the docs, use a Success handler

            Source https://stackoverflow.com/questions/65827641

            QUESTION

            Xamarin forms: ImageCropper.Forms: How to remove the multiple pop-up?
            Asked 2021-Jan-21 at 12:39

            I am using ImageCropper.Forms for cropping the image selected from the camera and gallery. I have 3 options for changing a profile picture; Take Photo, Upload from Gallery and Select Avatar. So for showing the Media options I am using a DisplayActionSheet like below:

            ...

            ANSWER

            Answered 2021-Jan-21 at 11:41

            The default alert is been defined in the package . So I don't think we can block it directly . If you want to set the text of it you just need to set

            Source https://stackoverflow.com/questions/65825324

            QUESTION

            ImageCropper.Forms fails at initialization
            Asked 2020-Jul-29 at 18:01

            I'm trying to use ImageCropper.Forms, I have followed all steps but it fails in initialization and throws this exception:

            Method not found: System.Threading.Tasks.Task`1 Plugin.Media.Abstractions.IMedia.TakePhotoAsync(Plugin.Media.Abstractions.StoreCameraMediaOptions)

            As you can see below, I'm doing all the steps recommended by oficial page: https://github.com/westito/ImageCropper.Forms

            AndroidManifest

            ...

            ANSWER

            Answered 2020-Jul-29 at 18:00

            I just have to install package ImageCropper.Forms.Fix from Nuget and everything starts to work as expected.

            Source https://stackoverflow.com/questions/63156562

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ImageCropper.Forms

            Install the nuget package in portable and all platform specific projects.
            This plugin uses the MediaPlugin. Be sure to complete the full setup this plugin. Please fully read through the MediaPlugin description.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/stormlion227/ImageCropper.Forms.git

          • CLI

            gh repo clone stormlion227/ImageCropper.Forms

          • sshUrl

            git@github.com:stormlion227/ImageCropper.Forms.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link