Questions tagged [cropper]

128 questions
1
vote
0 answers

How can I extract images from image

you can see in this image 2 parts are selected I want to save those selected parts as a 2 new images, this is the main purpose of this extracter it extract images from image See this image can I build this using JavaScript
Nadeem
  • 11
  • 3
1
vote
1 answer

How do I add cropperjs to my django project

I am working on a django project that requires adding a profile picture and that works; but where the problem comes in is that when someone uploads a picture that is quite long or quite wide, the profile image display would look weird. I tried…
1
vote
0 answers

using cropper js with asp.net mvc not getting selected photo name in text box

I am using cropper js with my asp.net mvc project to crop and upload image. But I am not getting the name of the selected image in the textbox. Please see the uploaded images. The first image is a default image, and the second image is the selected…
nischalinn
  • 1,133
  • 2
  • 12
  • 38
1
vote
2 answers

cropper.js results in bad quality images

I use cropper.js (1.5.9) from fengyuanchen. I have high resolution images from 5472px x 3648px (350 dpi). I wil crop this images to a resolution of 577px x 377px. When I crop the image the destination is of bad quality. Original: Cropped: We now…
Nico van Wijk
  • 241
  • 1
  • 9
1
vote
1 answer

Flutter Image Cropper unable to load asset

After using the image_cropper plugin for my Flutter app, I get this error: Unable to load asset: /data/user/0/com.habbyt.version1/cache/image_cropper_1606070878133.jpg When the exception was thrown, this was the stack #0 …
Nicolas O
  • 143
  • 2
  • 12
1
vote
1 answer

ngx-image-cropper - how change only the length or width of a cropper

In my angular 9 project I use ngx-image-cropper and it is working fine. This is my cropper code:
Shushan
  • 53
  • 2
  • 8
1
vote
0 answers

Cropper canwas minimal size

I have cropper in modal. But I dont undestend how i can set minimal size and set cropper as circle?
1
vote
1 answer

Uploading cropped picture fails with cropper.js and Django 2.2.7

I am trying to make a form that views users profile and displays a picture of a user. I have made a custom user class and added new field with profile picture (avatar). Idea is that when user is looking at the profile he can click on his picture and…
Branko Radojevic
  • 660
  • 1
  • 5
  • 14
1
vote
1 answer

Cropping Image to larger than original size

I am trying to crop an image, using some part of the image but also allowing for 'extra' space to be added around it. However when the cropped image generates black space in the 'extra' space, when I want it to be transparent. Using cropper…
Sam
  • 31
  • 1
1
vote
2 answers

Cropbox doesn't update when supplied with variables

I am making an image cropper, the cropper has to be of a fixed dimension, but those dimensions can be dynamically changed by the user. Everytime the box updates, I run this code. let dimensions = { height: 300, width:…
Rien Bijl
  • 43
  • 6
1
vote
1 answer

Can't initialize cropper.js (Uncaught TypeError: image.cropper is not a function at FileReader.oFReader.onload)

I'm using cropper.js and when I try to initialize, i get the error Uncaught TypeError: image.cropper is not a function at FileReader.oFReader.onload. I have copied the code from one last project I did, and in that project it works normally. I have…
1
vote
0 answers

cropper.js - unexpected identifier

trying to use cropper.js: https://github.com/fengyuanchen/cropperjs https://fengyuanchen.github.io/cropperjs/ After downloading and unpacking files I created index.php on the root level:
qadenza
  • 9,025
  • 18
  • 73
  • 126
1
vote
0 answers

How to integrate and send image crop in this code (angular2-img-cropper)?

I need to know how to send the crooked image to my backend because it is sending the original image without the crop and I can not manage to integrate it. I use this library: https://github.com/cstefanache/angular2-img-cropper I think I have to see…
1
vote
1 answer

How to trigger Cropper once the file is selected without getting a 404 on the img?

I'm trying to implement an image cropper on my website, but I'm getting some issues that I don't know how to get rid off. Expected behavior : Once the users select their picture from the disk via the file input, it shows a modal where you have to…
Eliferd
  • 11
  • 8
1
vote
0 answers

ngx uploader unable to upload cropped image on server - angular 6

I'm cropping image before upload to server so integrated cropping module. I want to upload cropped image to server but ngx uploader uploading original image. I have used ngx-uploader ngx-uploader: "6.0.1" and for cropper used "ngx-image-cropper":…
1 2
3
8 9