image

how to convert rtf to image format ( jpg/png..)

i need to convert rtf document that contains images (jpgs/pngs ) to image format jpgs or pngs programmaticly , do you have any ideas on how to do it ? on server side (web) Thanks ...

WPF Grid of Images - Best control to use?

I'm trying to convert my VB project to WPF, and one big problem I'm having is what to do about a large GridView that contains in each cell a single image. The grid needs to be very large so is the best way to do this in WPF a datagrid, or a dynamically generated Grid control, or something else? I'm not sure which controls give the best p...

Resizing an image in cm C#

I have an requirement that asks for an image with 10 X 6,88 cm. I know that I can't simple convert from cm to pixels, cause one pixel size depends on the user display resolution. I would like to know if there is a way to resize an image to have that size in cm. (I need to keep the image extension also. e.g.: can't convert it to a pdf or ...

IE7 Displays Whitespace afer png

I have a div that contains a PNG background-image. After the div is displayed on my web page in IE7, there is a whitespace between the div and footer. All other browsers (incl. IE8) display the PNG correctly. Any ideas on a resolution would be appreciated? ...

Image.FromStream(PostedFile.InputStream) Fails. (Parameter is not valid.) (AsyncFileUpload))

I'm using an AsyncFileUpload (AJAX Toolkit) to upload images. I have a Button which handle the image resizing. This have worked fine for some time, but not anymore... protected void BtnUploadImage_Click(object sender, EventArgs e) { var imageFileNameRegEx = new Regex(@"(.*?)\.(jpg|jpeg|png|gif)$", RegexOptions.IgnoreCase); ...

Is there a function to get the caption for an image in wordpress

I'm trying to get the captions from images in Wordpress but I can't find an easy function to grab this bit of information. Anyone know a way to get this? Thanks ...

PIL Best Way To Replace Color?

I am trying to remove a certain color from my image however it's not working as well as I'd hoped. I tried to do the same thing as seen here http://stackoverflow.com/questions/765736/using-pil-to-make-all-white-pixels-transparent however the image quality is a bit lossy so it leaves a little ghost of odd colored pixels around where what ...

Poor image quality in ListView

I'm populating a ListView with items and add images from an ImageList (in the designer). The images, however, are displayed in very poor quality, even though I've set the image size in the ImageList to their original size (16x16). Have a look: The original images are beautiful, sharp PNG icons. What can I do? ...

Using ColdFusion to save an uploaded image to the server.

I'm being stymied by what I thought would be the relatively simple task of creating functionality to allow users to upload a picture to a server directory and am looking for some help. I have a simple form with a straightforward interface, passing a variable named 'imagedata' which is the data passed from a file input, a variable named ...

Programmatically obtaining the number of colors used in an image

Question: Given an image in PNG format, what is the simplest way to programmatically obtain the number of colors used in the image? Constraints: The solution will be integreted into a shell script running under Linux, so any solution that fits in such an environment will do. Please note that the "color capacity of the image file" ...

Image registration

hello any ideas on how to do a simple image registration (I have IMAGE1 and IMAGE2 takes from the same subject, but with camera moving a little and want to match IMAGE2 with IMAGE1)? I checked MANY softwares to do that, but they're all focused on medical images, so I couldn't input a simple JPEG (one even allowed PGM, but didn't work). ...

HTML: How to make a submit button with text + image in it?

I would like to have a submit button which contains text and an image. Is this possible? I can get the exact look I want with code that looks like: <button type="button"> <img src="save.gif" alt="Save icon"/> <br/> Save </button> ... but I haven't found a way to have one of those for my forms. Is there a way to do that with an <inp...

image editor component for my web site

Hi, I know this has been asked before, but I am hoping that there are more options available now. I am looking for a nice simple image editing plugin that I can include in my document imaging system. It doesn't need serious photoshop type functionality, just the basics like zooming,cropping,resizing,flipping and rotating. Doesn't have...

Problems loading WPF image in code, where am i going wrong?

Hello, I have an image in my xaml as so: <Image Name="TotalFloors" Width="98" Source="../Images/FloorOne.png" Margin="0 0 0 10" VerticalAlignment="Bottom" /> This is loading fine, however everything i have tried to get this image change in code has resulted in nothing being displayed. I tried a MessageBox.Show(TotalFloors.Source.ToS...

Is it possible to take several images in a row using UIImagePicker with showCameraControls = YES

Hi everyone. Is there a way that I can capture consecutive pictures using UIImagePickerController and get rid of the screen that shows "Cancel" and "Retake". I want to be able to programmatically take consecutive pictures with shown camera controls (actually overlayed). The point of this is to use the apple`s tap focus feature which can ...

Add a marker to an image in javascript?

Hi, Anyone know how I can add a marker to an image (not a map) in Javascript? Ideally I'd like a handler that behaves much like adding a marker to a map - i.e. onclick causes a marker to be displayed at the point that was clicked, and returns the x/y pixel coordinates of the point that was clicked. Is this possible? Cheers Richard ...

Android on VMWare or VirtualBox

Can Android OS that is installed on actual devices be emulated in VMWare or VirtualBox. Are there any such distros or images available? ...

Image resize quality (Java)

Hi, I have an open-source app which uploads photos to Facebook. To save bandwidth, the photos are automatically resized before uploading (Facebook imposes a maximum size limit). A few people have complained about the photo quality, and in fact you can see the difference (see this issue for some demo images). So my question is, what is t...

Problem with PNG images in C#

Working in Visual Studio 2008. I'm trying to draw on a PNG image and save that image again. I do the following: private Image img = Image.FromFile("file.png"); private Graphics newGraphics; And in the constructor: newGraphics = Graphics.FromImage(img); Building the solution gives no errors. When I try to run it, I get this: A ...

Amazon S3 and Thumbnail generation... help?

I'm stuck for ideas on this one. I'm working on a CMS that uses a file-browser to store all media file in an S3 bucket. I have 4 options for thumbnail sizes which generate new thumbnail images from original image. If I'm doing this server-side in PHP it's fine - I'm just at loss as to how to do this if all the original files are s...