image

Float PPM image file format?

I've found a PPM image with the header starting with PF (instead of standard P6, P5, P4, ... signatures). The resolution number is stored in floating point (-1.000). No comments are inserted to get how it was produced. Because the resolution, I derived that each pixel is composed by 12 bytes (4 bytes per component)... I suppose they are...

Text Aligned Next To Photo in CSS

Hi Everyone: I am wondering if there is some way to align text on the right of a photo, and keep the text in that same "box" even after the image ends using HTML and CSS. A quick "diagram" of what I am attempting to accomplish is below: ------- -------- ------- -------- -Image- - Text - ------- -------- ------- -------- ------...

What is the target color profile in Image.FromFile?

I am curious what the useEmbeddedColorManagement parameter in System.Drawing.Image.FromFile actually does. This parameter directory corresponds to a GDI+ parameter in the same method of the same class. So debugging .NET source does not lead anywhere. If my understanding of color profiles is correct, a color profile is basically a mappin...

How to detect how far the object on photo is from another objects on that photo?

So for example we have real life photo. how to get (relativly to image dimentions for example) the distance from wall to girls, from girls to trees if all we know ts this picture? Papers with algorithms and\or Open Source programs doing this would be appreciated. As for me Code is Better than just pure algorithm. So if you give algori...

A text shows up smoothly when hovering thumbnails. Is this a jQuery plugin or just CSS?

I don't know the exact words to describe this behavior in the following pages: http://kyanmedia.com/ and http://www.jayhollywood.com.au/. When you hover the pictures (thumbnails). A text shows up smoothly. Is this a jquery plugin or just CSS? How to reproduce that behavior/effect? ...

How to detect a image texture?

So we have a photo like this How to detect that a red wall has a white figure painted on it and that that white figure is a texture and than how to cut that wall from the picture? I need an algorithm for performing such operation programaticly (not by hand) ...

White frame around images in WoW Addon

I am having some trouble with my World of Warcraft addon. Whenever I display my TGA files in the addon, there is a thin white frame around them. The same happens when I convert them to BLPs. When I look at the images themselves with Preview, there's no white frame, but WoW decides to display one. How do I resolve this? ...

Black outline around map polygons (IE)

This only happens in some IE's. Here: http://animactions.ca/Animactions/volet_entreprise.php You may notice that when you click and drag on one of the circles, you will get something similar to this: http://img534.imageshack.us/img534/7578/errorra.png I cannot figure it out. Here is my image map: <p class="style2"> <map id="FPMap0" ...

how to display an image inside <img> tag always in full dimension

I've an img element with dynamically changing image. I always want to show this image in its full dimension. So, I think, I've to dynamically change width and height attributes in img tag. How can I do this in php or javascript? ...

Map tiling - What kind of projection?

Hi. I've taken a large image and divided it in to square tiles (256x256). It is made for google maps also, so the whole image is divided into z_x_y.png (Depending on zoom level). z=0 => 1x1 tile z=1 => 2x2 tilesthe z=2 => 4x4 tiles My imageMap is "flat" and is not based on a sphere like the worldmap. I'm gonna use this map on a wind...

Right align text in an image with imagettftext(), PHP

I am setting up dynamic forum signature images for my users and I want to be able to put their username on the image. I am able to do this just fine, but since usernames are different lengths and I want to right align the username, how can I go about doing this when I have to set x & y coordinates. $im = imagecreatefromjpeg("/path/to/b...

flex image component

hi, I want to display a png with flex's builtin image component. There's a specific x, y that I want this image to be displayed. How do I do it? I am pretty new to flex. ...

PHP: creating a smooth edged circle, image or font?

I'm making a PHP image script that will create circles at a given radius. I used: <?php imagefilledellipse ( $image, $cx, $cy, $w, $h, $color ); ?> but hate the rough edges it produces. So I was thinking of making or using a circle font that I will output using: <?php imagettftext ( $image, $size, $angle, $x, $y, $color, 'fontfile...

PHP GD Reflection with original picture on top

Hi, I have stumbled upon a nice PHP library that uses GD to generate a reflection of a picture. I tried to modify the way so it also display the original image above its reflection to not have to align them in HTML. The script can be found there : http://reflection.corephp.co.uk/v3.php Any idea if this can be done easily ? With my tes...

Flex sending snapshot without using base64Encode

var is:ImageSnapshot = myImagesnapshot; var str:String = ImageSnapshot.encodeImageAsBase64(is); As of now, I am sending my jpeg data to the server with the code above. The problem is that it almost doubles the size of the data. Is there a way to send the image data directly without using any encoding. ...

Client side image resize and ftp component

I am looking for a component that resizes and ftp's images to a website. It doesn't have to be free. In fact, I prefer something we pay for that comes with solid support. It has to be able to transfer multiple images at once too. We work in an ASP.NET MVC environment but the component could be in Flash or Java. ...

Html dynamically repeated border-image

I have a table which border I want to have a sort of zig-zag shape. I want the table to have an automatic size; resizing depending on how big the browser is. But rrathe than just having an image that gets stretched I want a seamless image that gets repeat instead. I found out this can be done with CSS3's Border-image but by looking and B...

Silverlight 4.0: How to determine the file size of an object in MemoryStream

byte[] imageBytes = Convert.FromBase64String(base64String); MemoryStream ms = new MemoryStream(imageBytes, 0, imageBytes.Length); How will I determine its file size of an image? ...

( Flex ) How can we get an imagesnapshot of the entire component without scrollbars?

Hi there I can take snapshot of a component. But the problem is the component is lil bigger with scroll bars. The saved image has scrollbars (only the visible area is getting saved). What i need is I want the entire component to be saved as an image. This exact functionality is available while we print the component using FlexPrintJo...

Skewing an image using Perspective Transforms

I'm trying to perform a skew on an image, like one shown here . I have an array of pixels representing my image and am unsure of what to do with them. ...