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
266
votes
11 answers

What is the best java image processing library/approach?

I am using both the JAI media apis and ImageMagick? ImageMagick has some scalability issues and the JNI based JMagick isn't attractive either. JAI has poor quality results when doing resizing operations compared to ImageMagick. Does anyone know of…
Daniel Honig
  • 4,268
  • 6
  • 26
  • 24
220
votes
26 answers

Cropping an UIImage

I've got some code that resizes an image so I can get a scaled chunk of the center of the image - I use this to take a UIImage and return a small, square representation of an image, similar to what's seen in the album view of the Photos app. (I know…
153
votes
16 answers

Get average color of image via Javascript

Not sure this is possible, but looking to write a script that would return the average hex or rgb value for an image. I know it can be done in AS but looking to do it in JavaScript.
bgreater
  • 1,937
  • 3
  • 17
  • 16
141
votes
14 answers

High Quality Image Scaling Library

I want to scale an image in C# with quality level as good as Photoshop does. Is there any C# image processing library available to do this thing?
Ramesh Soni
  • 15,867
  • 28
  • 93
  • 113
123
votes
3 answers

Which library should I use for server-side image manipulation on Node.JS?

I found a quite large list of available libraries on Node.JS wiki but I'm not sure which of those are more mature and provide better performance. Basically I want to do the following: load some images to a server from external sources put them onto…
117
votes
9 answers

Getting image dimensions without reading the entire file

Is there a cheap way to get the dimensions of an image (jpg, png, ...)? Preferably, I would like to achieve this using only the standard class library (because of hosting restrictions). I know that it should be relatively easy to read the image…
Jan Zich
  • 14,993
  • 18
  • 61
  • 73
88
votes
6 answers

With ImageMagick, how can you see all available fonts?

ImageMagick can draw text into a picture in a given font, how can I see all available fonts for my system?
flybywire
  • 261,858
  • 191
  • 397
  • 503
82
votes
8 answers

Image Processing, In Python?

I've recently come across a problem which requires at least a basic degree of image processing, can I do this in Python, and if so, with what?
akdom
  • 32,264
  • 27
  • 73
  • 79
80
votes
6 answers

How to upload files in ASP.NET Core?

How to upload files or images using ASP.NET MVC 6 with some model data? For example, I have a form like this:
kszyrver
  • 924
  • 1
  • 7
  • 8
79
votes
11 answers

Bad image quality after resizing/scaling bitmap

I'm writing a card game and need my cards to be different sizes in different circumstances. I am storing my images as bitmaps so that they can be quickly drawn and redrawn (for animation). My problem is that no matter how I try and scale my images…
Cbas
  • 6,003
  • 11
  • 56
  • 87
73
votes
4 answers

Cross-browser way to flip html/image via Javascript/CSS?

Is there a library/simple way to flip an image? Flip image like this: AABBCC CCBBAA AABBCC -> CCBBAA I'm not looking for animations, just flip the image. I've googled to no avial and only found a complex version that utilized SVG on…
chakrit
  • 61,017
  • 25
  • 133
  • 162
69
votes
7 answers

How to use .svg files in a webpage?

I want to know how can one actually use a .svg file In a web page?
Parastar
  • 727
  • 2
  • 7
  • 5
68
votes
8 answers

How to cartoon-ify an image programmatically?

My app works with photos and videos of people, which I want to cartoonify. So I need an algorithm to do it manually (we use c++/Qt for our product, which has image manipulation classes) or perhaps some CLI program that will do it for me that I can…
JimDaniel
  • 12,513
  • 8
  • 61
  • 67
64
votes
4 answers

PIL how to scale text size in relation to the size of the image

I'm trying to dynamically scale text to be placed on images of varying but known dimensions. The text will be applied as a watermark. Is there any way to scale the text in relation to the image dimensions? I don't require that the text take up the…
62
votes
3 answers

Can I access ImageMagick API with Python?

I need to use ImageMagick as PIL does not have the amount of image functionality available that I am looking for. However, I am wanting to use Python. The python bindings (PythonMagick) have not been updated since 2009. The only thing I have been…
bsktball11ch
  • 763
  • 1
  • 6
  • 6
1
2 3
99 100