Questions tagged [image-manipulation]

Image manipulation is the term used to describe various operations applied to images such as resizing, removing noise, or alteration of colour depth.

Image manipulation is the term used to describe various operations applied to images such as resizing, removing noise, alteration of colour depth. These operations are usually performed to improve the quality of the image (such as the removal of noise) or to alter it so that the image file is better suited to its intended usage(such as resizing to meet display constraints on a mobile device).

1495 questions
0
votes
2 answers

Why the result not equivalent with original image?

If I use this command in MATLAB, the image is distorted and is not retained. Why is this so? >> b = imread('eight.tif'); >> b2 = imdivide(b,64); >> bb2 = immultiply(b2,64); >> imshow(bb2) >> imshow(b);
user75736
  • 131
  • 1
  • 4
0
votes
0 answers

Combining two UIImages: bottom UIImage overflows

I have a custom UITableViewCell class that I use in one of my UITableViewController classes. I pasted its code below. Sorry if it's a bit lengthy but I believe every bit of code is relevent to the question. In the custom cell class, I take an image,…
Robert Audi
  • 8,019
  • 9
  • 45
  • 67
0
votes
2 answers

PHp - memory error when resizing a PNG image

I have a script that creates a thumbnail out of an uploaded image. it works fine with jpgs, but gives me an error Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 26250000 bytes) when I upload a png image. The…
patrick
  • 7,369
  • 5
  • 20
  • 14
0
votes
1 answer

calculate number of matches between two images using MATLAB vl_sift

I’m new to MATLAB. I’m using VL_Feat library. I’m trying to construct a code that can calculate number of matching points between two images. Up to now I know how to match two images. What I want to get is number of matching points. As an example…
0
votes
1 answer

Google Python Image Library - How to resize an image based on its width?

I have this code to make a resize of an uploaded image as a thumbnail. project.thumbnail = db.Blob(images.resize(self.request.get("img"),188,96)) However, it does not do what I want. It always resize the image to have the fixed height of…
Hoang Pham
  • 6,899
  • 11
  • 57
  • 70
0
votes
1 answer

Is it possible to dynamically edit images with JavaScript/CSS so that their backgrounds become transparent?

Summary: I have multiple drawings scanned as black and white and saved as png. I want to layer the drawing images in a web page so that the bottom layers are visible underneath the upper layers. Is it possible to dynamically modify the pngs with…
gsmendoza
  • 1,394
  • 1
  • 13
  • 31
0
votes
3 answers

image manipulation widget for PHP

Any recommendations for how to resize & crop images in a PHP web app? Ideally will integrate into the UI to allow user to upload, preview, then optionally resize and crop. Thanks, Graham
0
votes
2 answers

Imagemagick thumbnail generation with php - using -crop

Long ago I created a small library for resizing images using imagemagick through system(...) because I did not feel that the build-in imagemagick functions for PHP were sufficient. However, recently I had to port this to a symfony project and I…
phidah
  • 5,794
  • 6
  • 37
  • 58
0
votes
1 answer

Is this possible to do some annotation (like redaction) work on the image using asp.net web application?

I have one Image editing work on the asp.net web page.Actually, the work is i have to select the area of the image and then draw some graphical object like black rectangle box on the selected portion of the image to hide the selected part of the…
Saravanan
  • 11,372
  • 43
  • 143
  • 213
0
votes
1 answer

IE6 javascript image swapping

I am having a problem with IE6 image swapping using jQuery (but assumedly any old javascript will trigger this issue) When setting $().attr('src','image.png') where the current image for the selector is drastically different in dimensions to the…
Eric Bennett
  • 211
  • 1
  • 2
  • 4
0
votes
1 answer

Creating a cross on an image inside an HTML file

I have an image inside my page. After some javascript trigger event I want a cross appear on the image. Image will still be visible but cross will be on top. What is the proper alternatives for this? (I have similar question here that used HTML5…
trante
  • 33,518
  • 47
  • 192
  • 272
0
votes
1 answer

Create a darken version of an image

I need to create a darken version of an image. What is the correct way to accomplish this? I have tried with the 'modulate' method: manipulate! do |img| img.modulate(0.85) end but the result is not optimal (see Result link). Original Result
MegaTux
  • 1,591
  • 21
  • 26
0
votes
1 answer

Automate simple Image editing

I'm working on an E-commerce website which deals in clothing and fabrics. Now what the client wants is that he click an image of a model once, and the same images is reused for different shirts. the only difference in each shirt is the print and…
TDsouza
  • 910
  • 2
  • 13
  • 38
0
votes
3 answers

new Bitmap OutOfMemoryException in CF 2.0SP2

I have this code: if (archivoBinario != null) { MemoryStream ms = new MemoryStream(archivoBinario); Bitmap imagen = new Bitmap(ms); PicBoxImagen.Image = imagen; } It throws a System.OutOfMemoryException when a create a new Bitmap from…
VansFannel
  • 45,055
  • 107
  • 359
  • 626
0
votes
1 answer

Get new crop coordinates after rotating a cropped image

I have a site where one of the features lets users upload images, then rotate/crop them. I'm using the following tools: ImageResizer JCrop So let's say a user wants to crop the image first, then rotate it. Cropping gives a set of coordinates from…
Scott
  • 13,735
  • 20
  • 94
  • 152