Questions tagged [cropper]

128 questions
0
votes
1 answer

Save original and cropped versions when uploading an image in Laravel Backpack Cropper

I'm using Laravel (5.5) with Backpack. Backpack includes the Cropper jQuery plugin that allows you to crop an image prior to upload. I need to save both the cropped version and the full version of the image on the server. The cropped version is the…
0
votes
1 answer

Get image from image view and then crop (Android Image Cropper Library)

Hi I have been using Android Image Cropper library, though I have been able to crop images from getting them from the gallery. But how would I start the image crop activity if I would just get the image from a Imageview and not selecting from the…
user6150841
0
votes
2 answers

How to fix image size posted to server using Javascript Cropper

I'm using Cropper https://github.com/fengyuanchen/cropper in a content management system but I'm struggling to get it to fix the size of a cropped image. What I want to do is ensure whatever size of crop box is drawn on the canvas also results in a…
Andrew Simeou
  • 91
  • 2
  • 9
0
votes
1 answer

Using Javascript to remove the text from the image?

Using cropper.js I could crop/resize the image, but is there any way I could, for example, remove the text from the image? or drawing? Then save or download? Thanks for any…
Dalin Huang
  • 11,212
  • 5
  • 32
  • 49
0
votes
0 answers

jQuery Cropper Stopped Working (partially)

Ive been using fengyuanchen jQuery cropper for quite a while with great results... but oddly enough, one part of it has suddenly stopped working. I have not updated the core files, nor have made any changes that could've broken it. In fact, while…
cguWEB
  • 11
  • 1
  • 2
0
votes
0 answers

Attempt to invoke virtual method 'Bitmap.getWidth()' on a null object reference

I am trying to get the image from my gallery and set it onto a cropper view. I am using this library as my cropper view. Question: How to solve null object reference error on this code mBitmap.getWidth() (see code). I have tried String fname=new…
ben
  • 159
  • 1
  • 4
  • 15
0
votes
1 answer

fengyuanchen Cropper: How to get x1, y1, x2, y2 coordinates of the cropped image

I went through the documentation available at https://github.com/fengyuanchen/cropperjs, but couldn't find any information there. I also tried using libraries like, imgAreaSelect which does provide coordinates information in x1, y1, x2, y2…
abh.vasishth
  • 31
  • 1
  • 1
  • 7
0
votes
1 answer

Showing Can't load the image

I'm trying to download an image from internet and pass it to the device's default cropper but it's showing can't load image. My code is: Intent cropApps = new Intent("com.android.camera.action.CROP"); cropApps.setType("image/*"); List
Srinivas Nahak
  • 1,846
  • 4
  • 20
  • 45
0
votes
1 answer

Force cropper to always be either full width or full height

I have been using cropper js. I am resizing the cropper based on input values(integer). For example A and B. So when user enters A = 200 and B = 240. The cropper calculates the aspect ratio and shows the cropper. Is there a option or some kind of…
Rogne
  • 39
  • 6
0
votes
0 answers

Crop image from input

Is there any chance I can allow user who is adding image to the input to actually make crop before send it to the server via ajax? I can easy display it via converting to base64 format but then there is no kind of documentation in any of jquery…
panatoni
  • 735
  • 6
  • 13
0
votes
1 answer

cropper.jscant initialize blob image tag by blueimp

So what i want : select an image with input type file, downscale with blueimp, crop that image with cropper.js so the blueimp part is working fine, the image gets resized to maxWidth property and is appended as tag to "#imagearea" then i…
john Smith
  • 17,409
  • 11
  • 76
  • 117
0
votes
0 answers

How to add files to an input file tag?

I wanted to add files to using js/jQuery. Here is where am having trouble, I am using cropperjs, so I want the cropped image to be appended to data of a form and sent on submit.
lulliezy
  • 1,741
  • 5
  • 24
  • 49
0
votes
1 answer

Check if selected file using edmodo cropper library is an image or not

While selecting image using the inbuilt CropImageActivity, the picker shows option to select files (of any type) from some external app (WPS Office for my case). So when I select a pdf file (say), onSetImageUriComplete() doesn't cause any…
Avinash Gupta
  • 389
  • 4
  • 16
0
votes
0 answers

Image Cropper not giving expected result

I am implementing a image cropper which will crop image captured from the camera. Here is the actual result and expected result of the UI. I followed this answer to get the desired visible image frame. And after this, below is my code to crop the…
Sumeet Purohit
  • 657
  • 1
  • 7
  • 16
0
votes
1 answer

How to influence behavior of cancel button in UCropActivity

I'm using the Yalantis library "UCrop" in my android app to crop, scale and rotate images coming from the built-in smartphone camera. When I call uCrop.start(this) the UCropActivity launches and in the upper left corner the cancel button appears as…
Speedy
  • 1
  • 3
1 2 3
8
9