image

WPF Image Dynamically changing Image source during runtime

I have a window with a title on it. When the user selects a choice from a drop down list, the title image can change. The problem is when the image loads, it's a blurred, stretched, and pixelated. These are PNG files I'm working with and they look good prior to setting the source dynamically. Here's the code I'm using to change the imag...

Adding an invisible image watermark in C#?

I want to insert multiple invisible watermarks into my JPEG pictures through C# code. That means that I need a .NET library that does this work and not some external batch application. Any suggestions? ...

How to subtract one bitmap from another in C#/.NET?

I have two bitmaps, produced by different variations of an algorithm. I'd like to create a third bitmap by subtracting one from the other to show the differences. How can this be done in .NET? I've looked over the Graphics class and all its options, including the ImageAttributes class, and I have a hunch it involves the color matrix or ...

Eclipse RCP and JFace: Problems with Images in Context menu and TreeViewer

I'm working on an Eclipse RCP application. Today I experienced some troubles when displaying images in the context menu. What I wanted to do is to add a column to my table containing images of stars for representing a user rating. On Windows, this causes some problems, since the star images are squeezed up on the left corner of the table...

Draw image over an image in asp.net at specific location

Hi, I need to draw an image over another image at specific location to block the image postion to be used by other users, please help me provide some guidlines, urgent. Thanks & regards, Khushi ...

How to save an image-file on server through Java applet?

I have a paint application that runs as a Java applet. I need to save the contents of the canvas on server machine in any image-format typically PNG. Please help! ...

Change an image to text via CSS for printing?

Lets say I have a header banner on a webpage I'm about to print. Instead of wasting someone's ink printing the entire block of the image, is there a way via css to replace the image with text of H1 size? ...

Layering images in CSS - possible to put 2 images in same element?

Supposing I'm setting a background image for a web page in CSS like this: body { font-size: 62.5%; /* Resets 1em to 10px */ font-family: Verdana, Arial, Sans-Serif; background-color: #9D5922; color: #000; margin-left: auto; margin-right: auto; margin: 0; padding: 0; background: url(images/desk.gif) repeat bottom left; } Is there a...

How to create a java.awt.Image from image data ?

How to create a java.awt.Image from image data? Image data is not pure RGB pixel data but encoded in jpeg/png format. JavaME has a simple api Image.createImage(...) for doing this. public static Image createImage(byte[] imageData, int imageOffset, int imageLength) image...

Vector graphics in iText PDF

We use iText to generate PDFs from Java (based partly on recommendations on this site). However, embedding a copy of our logo in an image format like GIF results in it looking a bit strange as people zoom in and out. Ideally we'd like to embed the image in a vector format, such as EPS, SVG or just a PDF template. The website claims that...

J2ME in Netbeans (gif image problem)

I'm creating a indoor navigation application (with the intention that a user can store maps for different buildings in the phones file system). The application starts up by asking the user to select a map for the desired building. Once this has been selected, a file parser would be used to parse and convert the map data from the file. Wh...

How to create vector graphics and then generate icons from them?

For a Website I'm developing, I will need to create some graphics. I haven't yet locked in sizes so I didn't want to generate image files (PNG, GIF, JPG) directly in case I change my mind after I get further along with layout and UI to see what works and what doesn't. This got me thinking: perhaps I should generate them as vector graph...

How to create a 3D model and then create an icon/logo from it?

I want to create a simple logo and the the logo I have in mind will be a stylized 3D model with "iconic" lighting (front, left, even). The 3D model itself can be defined as a collection of geometric shapes. Programming is more my thing than design so I'm looking for advice on easy-to-use tools to create my 3D model and then create a lo...

[Flex] -Rotating image

Hi, To image rotate I used Matrix class. Rotating work very well, but if I try scroll - image hide. How to solve this problem ? How to rotate big Image ? Flex Code[Rotate]: var tmpMatrix:Matrix = wImage.transform.matrix; var oHeight:Number = wImage.height / 2; var oWidth:Number = wImage.width / 2;`` tmpMatrix.translate(-oWidth, -oHeigh...

Is there a way to determine when 4 images have been loaded using JS?

I have 4 images on a page. I want to trigger a JS event once all 4 images are loaded. I of course can't be sure which order the images will be loaded in, so I can't trigger the event on the last image. One thought was to have a counter, but I can't think of the best way to check when that counter is equal to 4 as I don't like the idea of...

Get image properties with Jython

Hi All, I am using Jython to move images around and organise them. I would like to extract some information from the images like dimensions and file size. How would I go about doing this with Jython? Cheers ...

Insert Picture into SQL Server 2005 Image Field using only SQL

Using Ms SQL Server 2005 and Management Studio how do I insert a picture into an Image type field of a table? Most importantly how do I verify if it is there? ...

Flash Programming - Anyone know how to work with an array of images?

A friend has asked me to take a Flash 8.0 static image gallery website and make it dynamic. Most articles I've found for dynamic image galleries involve loading the images on request into an existing movieclip. I can't do this because there are some really neat transitions being used requiring both images to be available. I've figured ...

What is the difference between "JPG" / "JPEG" / "PNG" / "BMP" / "GIF" / "TIFF" Image?

I have seen many types of image (extension) but have never understood the real difference between them. Are there any links out there that clearly explains the difference between them. Is there a standard to use a particular type of image in your application? What do we use for web applications? ...

PictureBoxSizeMode.Zoom - What's the zoom factor?

I have a PictureBox (its SizeMode property set to Zoom) containing an image, and both may vary in size. Since the user has to interact with the image directly, I need to be able to convert the PictureBox click coordinates to image coordinates. What I have done so far, is compare the aspect ratio of the PictureBox to the aspect ratio of...