Hello all.
It's a little hard to explain what I need but i'll try:
I need to write application (winform) which will be some kind of filter to image/other forms behind it. With one exception - all behind form should looks as is except of red (for example) color, which have to be replaced to any other specified color, white for example.
...
Hi, i found a lot of questions about resizing images in .NET and whatnot, but none of them seemed to talk about resizing images that have transparency (both 1bit like GIFs and w/ alpha channel like PNGs), trying obviously to keep that transparency.
Maybe GDI/GDI+ is somewhat lacking of code to easily manage those scenarios or what else?...
This is from a class assignment:
This program is about listening to colors. We will treat pictures as piano scores.
Write a function called listenToPicture that takes one picture as an argument. It first shows the picture. Next, it will loop through every 4th pixel in every 4th row and do the following. It will compute the total of the ...
Please look at the following test page :
sample page showing two images.
You see small images which get a bit enlarged when you move over the image.
I have used jQuery to do this, but ran into the following problem.
The only way I got the wanted effect was to enlarge the white <div> and making the image a percentage of the encapsulati...
I have a collection of objects which describe an image-name, its size and it's X/Y location. The collection is sorted by "layers", so I can composite the images in a sort of painter's algorithm.
From this, I can determine the rectangle necessary to hold all of the images, so now what I want to do is:
Create some sort of buffer to hol...
Hello
I'm looking for a tool which will allow me to automate the task of obscuring a certain section of content contained within a PDF. The PDF content is essentially one big image which contains some sensitive information, and it is this information we need to ensure is not readable.
Any tips for where I should start looking for such...
The Paperclip plugin for Rails has a resize option that keeps the image in proportion.
According to Ryan Bates' Paperclip Railscast, to make sure that option is on, you have to add a greater-than sign in the end of the size for the style you're looking to resize, as such:
:styles => { :small => "160x160>" }
I'm looking for Paperclip t...
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, IMG_WIDTH, IMG_HEIGHT, null);
g.dispose();
Is it possible to scale an image without intro...
Hi - 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 reading
FILE *infile_p = fopen(infile, 'r');
FILE *outfile_p = fopen(outfile...
Hi, I have problem with dynamically created image (JavaScript).
I want to change the innerHTML property of a table cell:
var x=document.getElementById('myTable').rows;
var y=x[0].cells;
var myImg = document.createElement('img');
myImg .setAttribute("alt","");
myImg .setAttribute("style","vertical-align: middle; visibilit...
My user is uploading an image of any size XX x YY. I want to find the larger dimension and shrink the image to a square of 250x250 with transparent padding being added to make up the difference. Is there any way to accomplish this with CI's Image Lib?
...
I am working in OMR project and we are using C#. When we come to scan the answer sheets, the images are skewed. How can we deskew them?
...
I have a layout with the following requirements
An image on the left side, and content on the right side.
The image is pinned to the bottom left of the viewport
The image does not move when the user scrolls
The image resizes to 100% height of the viewport, up to it's max height. (I don't want the image to distort in it's attempts to be...
The best way to store images into MySQL is by storing the image location as a charater 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 retrive them back? I don’t know anything about this technique. Please tell me how we can do thi...
Hi,
The title says enough I think.
I have a full quality BufferedImage and I want to send it through an OutputStream with a low
bitdepth. I don't want an algorithm to change pixel by pixel the quality, so it is still a full-quality.
So, the goal is to write the image (with the full resolution, full size) through the OuputStream which t...
Do any of you know an API or application which can handle real time image manipulation?
Basically if I provided an image, this app would output perhaps a silhouetted version, or perform some other form of image manipulation, like roshak type blotting?
If you don't know of an application like this, do you know if this is possible using ...
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 problem is when I open, say an 80kb image and then save it with C#, I get an image with the same quality but for 130kb space. And because it has to...
i know there is a convert -swirl effect in imagemagick but can i create other effects for text like curved, arched, wedged, pinched etc.. just like wordart in word.
i am open to other packages that might help me get this thing done.. php or ruby..
...
Mhh, kinda hard to explain with my poor english ;)
So, lets say I have an image, doesnt matter what kind of (gif, jpg, png) with 200x200 pixel size (total area 40000 pixels)
This image have a background, that can be trasparent, or every color (but i know the background-color in advance).
Lets say that in the middle of this image, ther...
Hi all, how can I draw a circle around a white space in a image file with OpenCV (C language)?
image example:
thanks a lot!
...