image

How to compress images in CodeIgniter, yet do not change their dimensions?

I have a site where users can upload images. I process these images directly and resize them into 5 additional formats using the CodeIgniter Image Manipulation class. I do this quite efficiently as follow: I always resize from the previous format, instead of from the original I resize using an image quality of 90% which about halves th...

Layer two BitmapImage's in WPF

Hello, I have two instances of BitmapImage. I would like to layer then on eachother the create a new BitmapImage. How would I do this? (Using C#) Thanks! ...

jquery image auto slide

Hi All, How to make an image to slide and navigation button to cycle image from right to left jquery.where images are in the div element, Thanks in advance ...

Procedure for managing resources (images) in Visual Studio build.

I have a software product that is used by two customers. There is one codebase, the only difference is that each customer has their logo on the product. My question is, what is the best way to manage the codebase so that I can easily build the project for each customer, and never use the wrong logo? I currently have both images in a dir...

How can I go about extracting the background from an image?

Basically, suppose that I have a fingerprint. I know the dimension of my image, and I know that the fingerprint is black on a white background or that it is green on a black background or something like that. Is there a way to process only the parts that delimit the image, in this case, the fingerprint? What I'm trying to do is basicall...

Optimize .png images with PIL

All i need is create a .png image with transparent background, draw some text in black on it and save it using img.save('target.png', option='optimize') It looks like to save .png images in 32-bit mode automatically. Can I reduce the color depth while not make the output images looks much worse before saving? Since it contains only blac...

Rotating an image with the mouse

I am writing a drawing program, Whyteboard -- http://code.google.com/p/whyteboard/ I have implemented image rotating functionality, except that its behaviour is a little odd. I can't figure out the proper logic to make rotating the image in relation to the mouse position My code is something similar to this: (these are called from a m...

using image as reset button

i want to use an image as reset button what code i should use in HTML and CSS ? ...

Extract images from EML file in C#

Hi, I need to extract the images (attached) of a .EML file. Any help or ideas? Thanks in advance. (I'm programming in c#) ...

applying image decoration (border) in Python (programatically)

hi, I am looking for a way to create a border in python.Is there any library in Python which we can import to create a border. Note that I do not want to use any image masks to create this effect (e.g. I don't want to use any image editing package like GIMP to create a border image mask) . Here is what I am looking for: import fooIm...

How do I associate events with an image view?

Hello I have an app with an image view. When the user clicks on this view I want to run some code which will change the colour of a label and then hide this view I have everything setup in the interface, i.e. Outlets etc, but I dont see any events available to associate Can anyone help or point me in the direction of a good tutorial ...

Using Javascript Image object to handle images

I need to preview an image using javascript before upload to provide a crop facility. For this purpose, I create an Image object in javascript. var image = new Image(); To confine big images to a limited space, I access the height and width of the image using image.width and image.height For some of the images, I find that this value...

How can I add loading text/image to images that are still loading with jQuery?

I need to apply this to images that are selected by jQuery selector for example $("img"), should apply this to all images in page. ...

Display hundreds images dynamically

I have to create a form capable of displaying a cinema-hall (don't know the exact word) schema. Essentially I have to display a large number (given by another source) of independent chair-like images which can change color (status) on click. I surf the web searching for a solution but I really don't have a clue how to manage this. Can s...

Tools for Flash-based image manipulation

I'm building a Flash app (as3) that allows users to embed photos of themselves in a scene--think carnival-style cutouts (or faceInHole). I like the interface design for image manipulation at FaceInHole, which puts anchor points and a skeleton around the boundaries of the uploaded image and lets users drag the image to change its positio...

How to change the allowed amout of allocated memory?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40000 bytes) in /mounted-storage/home20a/sub001/sc20063-GJYD/[...] on line 62 It looks like the PHP-script only allowes me to allocate 32 MB to the memory? This was with an example image to test what would happen if a user tries to upload a huge picture. My...

How to save an image as Tiff or PNG with an alpha channel or alpha mask in iPhone SDK?

I have an image with something inside in a white backround. I want to save that image in a format that allows alpha channel or using an alpha mask in a way that the white pixels became transparents. Any light out there? ...

Tagging images in document

Hi, I 'm trying to do add tags to images which are in embedded(added) to word/pdf documents like taggify does. I was looking for suggestions on how to start? This question is an extension of http://stackoverflow.com/questions/128305/tag-images-in-the-image-itself-how-to thxs ...

Android image transparency

How can I make certain pixels of an DrawableBitmap transparent? ...

jQuery slideshow

I'm trying to create my own slideshow. The following code fades from one image to another. I'd like to cycle from img1.jpg to img4.jpg but i'm not sure how to pause after each change. i++; temp = "img"+i+".jpg"; $("#img").fadeOut(function() { $(this).load(function() { $...