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

imagecopyresampled lossing quality an image php

I want to copy re-size merge an image using imagecopyresampled in php. It is resizing properly but loosing it's quality or i can say its edges getting destroyed why? Below is my code please view it and give solution.PHP GD-Library.
Anand Jain
  • 779
  • 2
  • 10
  • 32
0
votes
1 answer

how to find center of image using php imagemagick

I want to use php5 and and the image processing library, imagemagick to locate the center of an image. I have imagemagick, and the php library installed, but i am just starting out, and stumbling through the examples. I haven't found anything that…
j0h
  • 1,675
  • 6
  • 27
  • 50
0
votes
1 answer

Handling inverted pixels in bitmapData and bitmap class in as3

I am using bitmapData and bitmap classes to render a mouse cursor on the display screen. The bitmapData consists of an area whose colors should be inverted according to the background color. This is a very basic thing which could be observed with…
0
votes
2 answers

How to access pixels of an NSBitmapImageRep?

I have an NSBitmapImageRep that is created like this: NSBitmapImageRep *imageRep = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL pixelsWide:waveformSize.width …
bastibe
  • 16,551
  • 28
  • 95
  • 126
0
votes
1 answer

Why does browser/client side image re-sizing have such a large performance hit?

I'm re-sizing images on the client side testing on an iphone5 web browser and seeing a decent amount of lag. It was making me wondering why browser side image re-sizing is so un-performant. Let me add that the re-sizing will be done server side when…
aintnorest
  • 1,326
  • 2
  • 13
  • 20
0
votes
1 answer

imageresizer: how can I get crop and rotate to work in an editor in the right order?

I am using http://imageresizing.net/ tools to create an editor. The user can crop and rotate, but when they crop first and then rotate they lose the correct crop coords because the image coords have changed for example, given a 100x100 image with…
Nateous
  • 757
  • 9
  • 23
0
votes
1 answer

Image anotation (Highlighting parts of an image, Scrubbing an image) using Javascript

We are working on an application and would like users to annotate an image. By annotation I mean, the ability to highlight parts of an image. Once the image is highlighted, and submit is clicked, the highlighted attributes (color, area highlighted)…
user297681
0
votes
2 answers

Scaling larger Image problem

I m developing flex application, in which I want to Draw Image from User local hard-drive to the canvas of size 640x360. User can choose Image of bigger resolution & is scaled to Canvas size. But if user selected images of larger resolution like…
0
votes
1 answer

How to get the manipulated image as a resource from CodeIgniter's `image_lib`?

We're working on a script that draws multiple images on a canvas, after manipulating each of them separately, i.e. resize + rotate. The canvas is an image resource, which we need to copy the manipulated images to. In order to achieve this, my only…
Andrei Oniga
  • 8,219
  • 15
  • 52
  • 89
0
votes
3 answers

Draw circle around a white area in OpenCV (C language)

how can I draw a circle around a white space in a image file with OpenCV (C language)? image example: thanks a lot!
frx08
  • 4,222
  • 8
  • 37
  • 45
0
votes
0 answers

Android - Bug image taken using Android Custom Camera

I built an own Camera App and all works fine in my Galaxy Nexus. I've tested the app in some devices and in the Nexus 4 the picture taken is abnormal. As if it were multiplied.. In my PictureCallback I save the picture with this code: File…
0
votes
3 answers

How to store image into binary form and how to retrieve that back?

The best way to store images into MySQL is by storing the image location as a character string. If you need to manipulate the image, then, the best way is to copy the image as a binary. How one can store images into binary form and how we can…
Deepak Narwal
  • 313
  • 7
  • 23
0
votes
5 answers

image scaling with C

I'm trying to read an image file and scale it by multiplying each byte by a scale its pixel levels by some absolute factor. I'm not sure I'm doing it right, though - void scale_file(char *infile, char *outfile, float scale) { // open files for…
sa125
  • 28,121
  • 38
  • 111
  • 153
0
votes
3 answers

Resized image degrades in quality

I resized an image using Java2D Graphics class. But it doesn't look right. BufferedImage resizedImage = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, type); Graphics2D g = resizedImage.createGraphics(); g.drawImage(originalImage, 0, 0,…
Venkat
  • 20,802
  • 26
  • 75
  • 84
0
votes
1 answer

Displaying BufferedImage directly in JavaFX

I'm making a raster image editor in JavaFX, and all the imaging libraries I've found use BufferedImage. Problem is, I can't display a BufferedImage in a JavaFX app, without converting it to javafx.scene.image.Image first. I'm concerened about speed…
midrare
  • 2,371
  • 28
  • 48