image-manipulation Questions

3

Solved

I'm looking for something like PIL (Python Imaging Library), which sadly doesn't support WebP images. I'd like to be able to do resizes and crops. Or at least convert to JPEG and then I can work i...

6

Solved

I've got an image that I've scanned, but the white paper is not white on the screen. Is there a way to equalize the contract/brightness to make the background whiter? Update I've tried the sugg...
Mousse asked 12/5, 2012 at 5:2

3

Solved

I am supposed to write a program that gets some PNG images from the user, does some simple edits like rotation and saves them inside a JAR file so that it can use the images as resources. The probl...
Anatomical asked 10/3, 2010 at 17:49

10

Solved

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...
Stylography asked 21/9, 2008 at 16:21

7

How to upload files or images using ASP.NET MVC 6 with some model data? For example, I have a form like this: <form> <input type="file"> <input type="text" plac...
Pistareen asked 13/2, 2016 at 11:31

2

Is it possible to automatically extract tiles from comics, with an existing tool like ImageMagick or should I code a tool myself? I have seen answers using ImageMagick (Using imagemagick how can i ...

5

Solved

I'm currently, in C#, trying to figure out a way of finding a specific pattern in a large image, a screenshot actually. A 100% match is needed, so the problem is pretty straight forward. Test mate...
Collected asked 2/3, 2011 at 18:44

2

Solved

When doing a patch resize to a big bunch of JPG, PNG and GIF files, PHP drops dead quite unexpectedly with the following error message: imagecolorsforindex() [function.imagecolorsforindex]: Col...
Mistletoe asked 6/10, 2010 at 16:4

3

Solved

I am doing some image scaling using GDI+ (C#), and have noticed a problem where the image I am scaling is being cut off along the left and top edges. http://zctut.com/cutoff.png To reproduce this...
Halette asked 19/12, 2010 at 6:51

16

Solved

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.
Cruz asked 29/3, 2010 at 21:42

26

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...

5

Solved

How do I manipulate images at the pixel level in C#? I need to be able to read/modify each bitmap pixel RGB values separately. A code sample would be appreciated.
Pol asked 10/10, 2008 at 7:15

6

I am trying to use the Pillow (python-imaging-library) Python library in order to create an outline/stroke/border (with any color and width chosen) around my .png image. You can see here the origin...
Mendelson asked 24/4, 2020 at 9:50

8

Solved

is there any lightweight command line batch image cropping tool(Linux or Windows) which can handle a variety of the formats ?
Glossotomy asked 12/12, 2009 at 12:16

3

Solved

The border shadow effects used in the images of this blog post seem to be embeded in the images themselves (not css3). How can it be created in imagemagick? Edit 1: The solution which I found quite...
Barrio asked 15/6, 2011 at 0:49

7

Solved

I am trying to implement an algorithm in computer vision and I want to try it on a set of pictures. The pictures are all in color, but I don't want to deal with that. I want to convert them to gray...
Eurythermal asked 22/11, 2009 at 19:12

3

Solved

I have a condition where I want to detect white line incase of black background and black line incase of white background. I used bitwise_not operation something like this: cv2.bitwise_not(mask_bl...
Transport asked 27/9, 2019 at 23:28

4

Solved

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 dim...

4

You'd take images and mark specific points (for example, mark the region around the eyes, nose, mouth etc of people) and then transform them into the points marked into another image. Somethi...
Gingham asked 21/2, 2011 at 20:45

6

Solved

I'd like to make a simple VB utility to resize images using vb.net. I am having trouble figuring out what vb class to use to actually manipulate the images. The Image class and the Bitmap class don...
Pollination asked 27/1, 2010 at 4:34

2

There are lots of examples of encoding images to Base64. Is there a way of changing the size or resolution of that image by simply manipulating the actual base64 encoded content? Your base64 code m...
Allerus asked 22/10, 2015 at 21:54

4

Solved

I want to resize an image to a max width. So I don't care about the height of the image, but I just want to always resize it to a specific width. I'm certain I've done this before I just can't rem...
Resistless asked 5/12, 2011 at 21:25

1

Solved

How do these function works? I am using Python3.7 and OpenCv 4.2.0. Thanks in Advance. approx = cv2.approxPolyDP(cnt, 0.01*cv2.arcLength(cnt, True), True)

9

Solved

An easy problem, but for some reason I just can't figure this out today. I need to resize an image to the maximum possible size that will fit in a bounding box while maintaining the aspect ratio. ...
Belita asked 9/7, 2009 at 20:43

2

Solved

I've got a Numpy 2d array that represents a grey-scale image and I need to rotate it 270 degrees. Might be being a bit thick here but the two ways I can find to do this seem quite... circulous: ro...
Sisterinlaw asked 17/3, 2010 at 10:7

© 2022 - 2024 — McMap. All rights reserved.