image

Alpha channel transparency and resizing image files.

I'm using the following code to resize a tif. The tif has an alpha channel set for transparency. I'm trying to resize this image and honour the transparency but at the moment it's coming out with a black background. Any ideas? public static void ResizeImage(string OriginalImagePath, string NewImagePath, int Width, int Height) { ...

Split Big Image in PDF created using iText

I have a PDF which displays a dynamic image (Chart created with JFreeChart). The chart is dynamic and hence can span across multiple pages. But I'm unable to split image across pages. I tried splitLate(false) as well. Please suggest solutions / ideas / workaround. Ciao, SKR ...

Delete an Image in iPhoto having the Filename (incl. path)

How I can delete an image (move it into the trash) from applescript by giving the filename and path of the image locate on the drive. This script will be started from the shell and may get the (valid) filename including the path (size or other properties if needed) as parameter. So far I could manage to select the image by name (which ...

Deliver a generated image file to client without first writing the file to a server directory

Despite setting directory permissions to 777, I still can't get a PHP script to write an image file that it generated to a directory on the server. So, rather than wrestling with that problem I thought, why not create a new one. Actually, I thought there might be an easier solution. Is it possible to take an image file (stream) that i...

HTML5 iPhone dynamic caching of images

Hi We are building web applications for the iPhone that work offline. But we are having difficulties caching dynamic images. Please read on and I'll show by example exactly what I mean and what we have done so far. So for example let's say we are building a simple list application with just 1 page. The application's only purpose is to ...

How to upload image to facebook album using C/C++/C#?

Given a picture file, how do I programmatically upload it to one of my Facebook albums? If possible, I would like to do this using native MFC code (client side). Otherwise I'll stick to C#. I've seen that Facebook comes with different SDKs, but I'm not sure which technique is best suited. Please point me in the right direction, or bett...

How to create an image with "hoverable" areas that show additional information in jQuery or HTML5

Hello friends, I'm trying to create something which I feel should be simple to do in jQuery or HTML5, but am having a tough time finding the resources for it. If anyone can help, it would be much appreciated. Goal- I've got a single image with 16 sections that are hoverable. There are other parts of this image, that are completely stati...

Google Images hoverover zoom in with extra information

I have a GWT application with a thumbnail view of images (they are in a widget panel) , and I would like to show more information about the thumbnail when hovered over via mouse just like google image search .. any examples or code out there for GWT users .. NB: I got to a point were I catch the mouse when its over the image and detec...

Modifying existing pdf elements (particularly images)

I am reading in template PDFs, customizing them, and appending pages before outputting the final document. What I want to do is modify the elements in the template I load before I append it to the output. In particular I want to hide or remove images (and potentially other elements). I'm not even sure if elements in the imported pag...

Preventing the Android "long press" to save images

I've written a web-app in HTML and Javascript for iPhone and Android which involves the dragging and dropping images. You initiate the drag by holding your finger over the image for about a second. However, Android then pops up the message giving me the option to save the image, set it as wallpaper etc. How can I prevent Android from ...

Drupal - imagecache link to image, set attribute to target="_blank"

I'm using imagecache with an image gallery for drupal. When the field is set to an imagecache preset that links to the original image. I want it so that when the preset image is clicked, the original image loads in a new tab. How can I add the target="_blank" attribute to an imagecache preset? ...

Which processes an image faster?

Is it matlab or opencv ...

How to deal with private/public pictures of a user created image gallery?

I am working currently on a web project where users can create image galleries and upload pictures. Optionally they can mark pictures as private so that nobody else can look at them. Now i am not sure how to properly implement the protection mechanism. Of course i have some ideas but none of them seems to be optimal. Here is one of my i...

phpmailer AddEmbeddedImage() method attachment problem

Hi all, I have a problem with AddEmbeddedImage() method from phpmailer. I am sending a html email template to users and i have a image as logo, it is working ok, but it also sending an attachment the same image as for logo. Does anybody know how to make this not to send attachment too? Thanks ...

How to convert webpage to image using c#

how to convert webpage as a image? i have a aspx page display in browser, i need to get the webpage as an image. how to save the webpage as a image pls help... ...

Another file permissions problem

I have a classifieds website, and when users post a new classified, they may chose to upload images. My php code takes the chosen image, uploads it to a image folder, and names it accordingly. The problem here is, I have to set the images folder to 777 in order for this to work. My question is, what should the permissions be set to? A...

Incremental loading of images

In my app I need to download a lot of images for data in a ListView. I do lazy loading and it works rather fast, but still there is a 1-3 secs delay before the first image shows up. My research in the delay shows that the data transfer takes 50% of the time. Now, I believe that If I could do incremental loading of the images, I would be...

IE Preload Images Bug?

Okay, so I'm calling images from a sprite for my image slider. What happens is that when a page is loaded, all slideshow images are displayed horizontaly thus making it appear bugged. A solution we worked out was to set images to preload. It works fine in Firefox, but in IE it appears bugged. Here are the two lines of code that matter (w...

Why are software images boxed?

You know what I mean—like Adobe. If you go to their website, their product images are in a box. The same with games, they're in a box. I've always found it awkward that a circular disk would be found inside of a box. Even in some cases where there aren't physical copies of a software, the downloadable file is represented by a box. So wh...

Any program to combine several images into one for use with CSS and to reduce round trip count?

I'm looking at ways to reduce the quantity of Round Trips to my site for my clients. Right now I have several images that I think should be combined into a single image like this: http://aspnetajax.componentart.com/common/themes/20101/Office2010Silver/Static.png and then spit out some CSS like this: http://aspnetajax.componentart.co...