Questions tagged [crop]

Crop refers to any issues relating to cropping images.

Cropping refers to the removal of the outer parts of an image to improve framing, accentuate subject matter or change aspect ratio.

Image example :

enter image description here

3129 questions
1
vote
0 answers

Images not resized but cropped

I have a very odd problem. The first image is showing up correctly, but eng and slo are showing up cropped and not resized down to 5% height and width or 200px height and width. I am currently clueless as to why this is happening, because image is…
peroxy
  • 117
  • 6
  • 13
1
vote
1 answer

OutOfMemoryError when trying to compress bitmap

I am using android-crop library. I am dealing with frustrating out of memory exception if users try to crop from a large image (the images from the phone camera). I have tried to compress the resulting bitmap but I still get OutOfMemoryError when…
Dumbo
  • 13,555
  • 54
  • 184
  • 288
1
vote
1 answer

Find the rectangle area of image to Crop

I've image with the size of (352 x 240) And I want to crop the white area (the selected area as show below). I use this code to crop image , private static Image cropImage(Image img, Rectangle cropArea) { Bitmap bmpImage = new Bitmap(img); …
zey
  • 5,939
  • 14
  • 56
  • 110
1
vote
2 answers

JavaScript image crop / rectangle select on image

I have a question regarding JavaScript. I want something like this for a project: Basically, I want some kind of a rectangle selection within a picture. I already have the PHP for processing it later. I just need to get the X & Y position of the…
Jeff Reed
  • 231
  • 1
  • 6
  • 23
1
vote
1 answer

Create a thumbnail image every X seconds of the video

hello i have following command to get every second images from video. ffmpeg -i input.flv -f image2 -vf fps=fps=1 out%d.png this command extract whole image every second . i want to get images from specific (x,y) position. for example i want to…
1
vote
3 answers

Android app: text getting cropped on smaller devices

We are developing an android app. The text displaying properly on 5" devices. But getting cropped on smaller devices (4", 3.5"). why is it happening? Any help welcome. Please see screenshots below. "Credit" "Debit" and "Net" displayed instead of…
user249605
  • 229
  • 2
  • 3
  • 8
1
vote
0 answers

Grails 2.3.1 and burning image service plugin

I have installed and correctly configured :burning-image:0.5.1 on my grails application. I can upload images and retrieve them. Now I want to retrieve a saved image and manipulate it. The goal is to give a link to the registered user where he can…
Snite
  • 85
  • 9
1
vote
1 answer

libgdx Cutting an image

I have been trying to "cut" an image for some time now, I ll explain why and what I tried. So I wanted to create an hp "bar" except it's not a bar but a heart and so I though it would be easy all I had to do is have two pictures draw them on top of…
Musbah
  • 111
  • 1
  • 9
1
vote
0 answers

Image crop stretching image from camera

I'm using this project: http://code4app.net/ios/Perfect-Image-Cropper/51de11576803fa4548000004 for cropping images. The fact is that is working perfect with photos imported from Library, but not with image from camera. When selecting image from…
Lary
  • 31
  • 2
1
vote
0 answers

pinch and Image from Image View and get particular part of it?

I am working on an android application. There is a image in Image view . I want to add pinch and drag functionality on it.I want to place circular Image View on this view. and select particular area which occurs in this view android. I have tried…
Nitesh
  • 21
  • 4
1
vote
0 answers

Launch Crop intent and set cropped image as wallpaper

I'm looking forward to cropping a picture and using it as wallpaper programatically .. any help please ?
Ahmad Sameh
  • 59
  • 1
  • 9
1
vote
1 answer

Cropping image in android without using the crop intent

I am trying to develop a small cropping application. I will be using a overlay on the camera window like we normally have in bar code scanners. But I want to crop the overlay part of the image after user clicks a pic and just store the non-overlay…
user1901079
  • 427
  • 2
  • 7
  • 19
1
vote
5 answers

Need to cutoff img left and right

I have a div and it's width is 950px. I've inserted an img inside the div. The img width is 960px. So my question is if I inserted 960px width image inside the div want to crop 5px from right and 5px from left. Also need to the align the image…
jijith
  • 21
  • 7
1
vote
1 answer

How to crop a bitmap in particular size in center programatically

I am creating a map based application, I wanted to programatically crop the screenshot that is taken, in fixed sizes. LDPI - 156.75 x 86.25 px MDPI - 209 x 115 px HDPI - 313.50 x 172.50 px xHDPI - 418 x 230 px It should be a center crop. I am…
MAST3RMIND
  • 592
  • 2
  • 14
1
vote
2 answers

Crop image based on X, Y coordinates in java

I want to crop my image using 4 XY coordinates in an image. I looked at BufferedImage 's getSubImage method as well however didnt find it useful for my requirement. Any way to crop it using the 4 coordinates points (x1,y1), (x2,y2), (x3,y3),…
Wanderer
  • 366
  • 2
  • 6
  • 18
1 2 3
99
100