image

Image DPI Explained

Attempting to write a definition of DPI has lead me to: DPI (dots), PPI (points), LPI (lines) all refer to the same concept hereafter referred to as DPI. DPI is a device dependent measurement. It says, "This is the resolution of this device." Vector based files are not tied to any one DPI (they expand and contract to conform to a cer...

What image-editor or library produces an easy-to-use 2D vector format describing areas / masks?

Step 1) Administrative / data entry worker opens ?, loads raster image, and using a 'lasso-like' tool (a la Photoshop 'magnetic' if possible) specifies areas of interest / masks. Step 2) ? Step 3) Profit! (i.e., application opens raster image, vector file describing masks, does interesting stuff to areas of interest based on runtime ...

Compact Framework - any implementation of the Image.FromStream (Stream, Boolean, Boolean) ?

In a .NET CF application I wrote, one of the features is to acquire frames from remote cameras. Frames are acquired as single jpeg images and displayed on the screen when available. It was a good enough solution, but I don't like the fact that the time needed to convert the stream into an Image object, with the Bitmap() constructor, is ...

library for server side image resampling using java?

I want to create a serve resampled (downsized) version of images using jsp. The original images are stored in the database as blobs. I want to to create a jsp that serves a downsampled image with decent quality (not pixelated) as per the passed image width/height (e.g. getimage.jsp?imageid=xxxx&maxside=200) . Can you point me to a openso...

How to get color space of a jpeg/tiff in java?

Hi, the title sums it up really. Using the standalone exiftool program to dump all image metadata to a console I can see a line Color Space Data : RGB It looks like this is taken from the ICC-header I want to get the same data programatically in java. I've tried the drew noakes library and the Sanselan library, but neither give me a val...

Firefox - designMode: disable image resizing handles

How can I prevent the user from being able to resize an image in designMode? (disable the handles when image is clicked) ...

Browser dependency problem in image display

Hi All In my page, I am displaying a report after the user selects some information. On a button onclick event, I am displaying an image which rotates itself to indicate to the user that the request is being processed. The image rotates in the Firefox but not in IE(it just displays the image). Please give me your suggestions. with re...

How to display image from sql server in ms access

Hi, I have an MS sql server database. There is a table with one of the column of the "image" type. Now, the customer wants to read the data from an MS access. He wants to display the images in a form. I have never used access and have no idea of how to do simple things there. Any help will be greatly appreciate. Thanks, Ramjee ...

Website image manager with copy/paste? (Flash?)

I'm looking for a web based upload manager, with good support for images. It should be as easy as possible for novice users to "add images to a website". I could use such a thing for two use cases: A CMS for external use, needs proper image support (1-file upload doesn't quite cut it). A Wiki for internal use, to get popular it will ne...

Open source library to convert DOC and other MS-Office files to image(s)

Can you recommend an open source library (C or C++) to convert MS Office files into a set of images? I am evaluating ImageMagick and while it does support PDF files, it does not work with MS Office files. ...

Can I access the datafile of an img tag from JavaScript

I want to, from JavaScript, access as a variable the file that is loaded as an image in an img tag. I don't want to access its name, but the actual data. The reason for this is that I want to be able to copy it to and from variables so that I can , among other things, change the image without reloading it. Can this be done? If so, ho...

Why do I have an Issue with binding to an image from a control template?

Hi, I have a style for an items control that binds to an image in the target, it only appears if the target also binds to the image and I have no idea why.. can anyone shed any light on it for me? A simplified version of my style: <Style x:Key="testStyle" TargetType="ItemsControl"> <Setter Property="Control.Template"> <Se...

Image scaling and rotating in C/C++

What is the best way to scale a 2D image array? For instance, suppose I have an image of 1024 x 2048 bytes, with each byte being a pixel. Each pixel is a grayscale level from 0 to 255. I would like to be able to scale this image by an arbitrary factor and get a new image. So, if I scale the image by a factor of 0.68, I should get a new i...

Java Swing: how to add an image to a JPanel ?

I have a JPanel to which I'd like to add JPEG and PNG images that I generate on the fly. All the examples I've seen so far in the Swing Tutorials, specially in the Swing examples use ImageIcons. I'm generating these images as byte arrays, and they are usually larger than the common icon they use in the examples, at 640x480. Is there ...

Generating iPhone Camera Roll Thumbnails

My iPhone application needs to save an image in the Camera Roll. I need to generate the .THM file because otherwise the photo is not recognized by the iPhone. Are there any Objective-C API to do it? Thank you. ...

How to Control Flex 3 Image Control Caching

According to the adobe flex docs: http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html Using an image multiple times You can use the same image multiple times in your application by using the normal image import syntax each time. Flex only loads the image once, and then references the loaded image as many times as n...

indirect remote images

I am trying to create some HTML which shows me if my server is available from the internet, green light OK red light unavailable. This I can do for a remote site but not for my home, my router seems to prevent me from returning to home via my static IP address. I want to create some HTML so that I see how I look from my ISP not my own LA...

Vector or diagram drawing webservice

I have a webapp from which I'd like to insert diagrams and images quickly and easily. I expect there is, somewhere out there, a webservice which will take a URL with a parameter that describes the vector graphics or diagram and returns an image. No unlike what google charts does for graphing data. Any resources or ideas on this? If I...

Drawing on top of an image in Javascript

I want to let the user draw on an image in a browser. In other words, I need both bitmapped graphics and drawing capabilities, whether vector or bitmapped. Canvas looks good, but is not supported by IE, and though there is ExCanvas, I wonder if ExCanvas is stable enough for consistent use in IE6 through 8. Or best of all, is there an o...

Using jQuery, Restricting File Size Before Uploading

On PHP, they have a way to restrict file size AFTER uploading, but not BEFORE uploading. I use the Malsup jQuery Form Plugin for my form posting, and it supports image file posting. I was wondering if perhaps there's a restriction where I can set how many bytes can pass through that AJAX stream up to the server? That could permit me to ...