image

Firefox prints text properly and images reversed

If I print a webpage from Firefox 3.6.6 to my HP deskjet 990cxi printer (USB connection), the text is printed normally, but the images are reversed (mirror image). This hasn't always happened, but seems to have been a "feature" of at least the last few versions of Firefox. If I select the print option for Mirror Image then the image ...

Create an interval to change image in jQuery?

Hello I have a working script like this: jQuery(document).ready(function(){ $('.video-thumb img').bind('mouseover',function(){ var new = $(this).attr('src').replace(/default.jpg/,'1.jpg'); $(this).attr('src',new); }).bind('mouseout',function(){ var default = $(this).attr('src').replace(/[0-9].jpg/,'defa...

Help with editing a png photo, I need to change the colour

I have a logo that needs to be changed to a pantone colour but the only way I could change the colour was if I live traced it but I lost some detail. So I was wondering if there is another way I can do this in any of the adobe software programs without losing any of the quality. Thanks With the website listed below I was able to change ...

PHP image file call origination

I have a file called image.php and one called index.html. This code is in index.html <img src="image.php"> Now, is it possible for the image.php file to know that it was called by the index.html file ? If so, how? ...

iphone xml parses text but no images or paragraph spacing

i am trying to parse an xml blog found here: http://www.feed43.com/1515171705611023.xml it has pictures within the text. I am able to parse the headers, the content and the link of the individual posts. I, however, cannot get it to parse the paragraph spacing links within the text or images. all three of these are EXTREMELY important....

How can I display ink (that is already captured) as an image in an ASP.NET page?

Hi folks, I have a .NET windows application that collects ink using Microsoft.Ink from Microsoft Tablet PC SDK and stores it in a database. That's working fine. Now I need to display this ink as an image in an ASP.NET application. Note that I don't need to capture any strokes in the web application. Just display the already captured s...

ms access linked image relitive path

I have an Image object. I have the Picture type set to linked, so I can change the picture if I want. I have the Picture property set to the picture name. I would think that access would use relitive addressing and simple looking in the current directory for the image. But it does not and I get an error telling me it cannot find the pi...

Drop shadow for PNG image in CSS

HI, i have png image, that has free form (non square). I need to apply drop-shadow effect to this image. The standard approach ... -o-box-shadow: 12px 12px 29px #555; -icab-box-shadow: 12px 12px 29px #555; -khtml-box-shadow: 12px 12px 29px #555; -moz-box-shadow: 12px 12px 29px #555; -webkit-box-shadow: 12px 12px 29px #555;...

CSS - simple two columns

Hi. I have a fluid page (100% width) with this inside: [image-fixed-width] | [text-fluid-width -----------------------------------] | ----------------------------------------------------- | ----------------------------------------------------- I need the text next to the image not to wrap around...

Changing the dataype of a Mat class instance in OpenCV C++ Interface

Hi all, How can i change the datatype used in storing the pixels in a Mat class instance? For example after reading an image using the line below Mat I = imread(file,0); i obtain a grayscale image with pixels of type unsigned char. I want to change this to a double. What's the best way to do the conversion? I wasn't able to find a f...

How do I display an Bitmap class object in android without using XML

I am trying to display an bitmap I created in and android program, but all the tutorials I find involve either Drawables or XML in order to display them. Can someone show me the steps needed to display an Bitmap in code? This is not the entirety of the code, this is just the majority, the rest is related to getting the camera working. ...

Batch script to pngcrush all files in all subfolders

I have a folder structure with one main parent folder containing many subfolders, and in these some PNGs, something like: .../data .../data/013523/ .../data/345343/ .../data/395338/ .../data/013523/filex.png .../data/013523/filey.png .../data/345343/filea.png .../data/345343/fileb.png .../data/345343/filec.png I'd like to crush all ...

Android Image Capture Saving Small Sizes on Milestone

I've written a simple app that opens the camera and supplies a path for saving any captured images. The code basically looks like this: File file = new File( Environment.getExternalStorage() + "myimages/", "my_image.jpg" ); Uri outputUri = Uri.fromFile( file ); Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTU...

Dimensions for a website background image

Hello all I am confused in deciding the dimensions for a background image for my website. I am creating a collage like image in picasa and it defines the image dimensions using aspect ratios. If I want to create an image of 2048 x 1800, what aspect ratio should I use? ...

Flex4 get height and width of an mx:Image

I want to find out what the original height and width is for an uploaded image. 1) I want to control the height and width of the image manually relative to it's original dimensions. 2) I want to measure the DPI of the image as it is being scaled. 3) I'm having difficulty populating spark List containers without manually adding heig...

png24 to png8 conversion

Hello, I want to convert the input 24 bit PNG image to 8 bit, I have tried using Imagemagick and Python PIL, neither works. for instance: at Imagemagick I try convert console command as such: convert -depth 8 png24image.png png8image.png And here is the way I tried with python: import Image def convert_8bit(src, dest): """ ...

using an image item render in a flex data grid

I'm attempting to add an image to a datagrid item render dynamically in flex. Here is my DataGrid code The value of "str" in the getImagePath function is correct. <?xml version="1.0" encoding="utf-8"?> <mx:DataGrid xmlns:mx="http://www.adobe.com/2006/mxml" doubleClickEnabled="true"> <mx:Script> <![CDATA[ ...

How to append _thumb to all media uploaded and media that is already uploaded to my wordpress blog

Hello guys, I was hoping to get some help on this one. I am looking to have appended to all images and media that get applied to a post via the upload tool in WordPress _thumb to the src of the media object. Thanks, Matt ...

Return an image to the browser in python, cgi-bin

I'm trying to set up a python script in cgi-bin that simply returns a header with content-type: image/png and returns the image. I've tried opening the image and returning it with print f.read() but that isn't working. EDIT: the code I'm trying to use is: print "Content-type: image/png\n\n" with open("/home/user/tmp/image.png", "r") a...

Detecting a circle of a specific color (or gray level) with openCV

Hi, Is there a way to detect a circle with a specific grey level using openCV? I want to detect a circle that marks out from the others. Currently, I'm using cvHoughCircles to detect my circles. I know the method returns an array of cvSeq containing the info on each circle (point and radius), but it does not provide any color informati...