image

ImageMagick - Resize image to square.

Hey S.O. People I have just started doing some ImageMagick work. I am currently trying to convert an image from a file size that is almost square (1411 x 1486) or similar sizes to a square shape, like 1024x1024 unfortunately the resize function doesn't seem to do a resize of the canvas so i keep getting number like 1024x982. I am wonder...

Text and Image on SWT Button

Is there a way to have a SWT buuton with both image and text in a view? I have tried embedding Swings in SWT and the view looks exactly as I want, but when there is an operation going on, this view doesnot load till it gets over. This makes my perspective look unstable. Please help. ...

Where is a good place to host user uploaded images?

Each user will have a maximum of one image, which will probably be resized and saved as a thumbnail. I was wondering where would be the best place to store those images, on the server or should I get some type of outside hosting. I have a shared hosting account (with hostmonster if that matters). Also, what are some good image hosting ...

Error in WIA Scanning IMage on IIS Project

i made web application to scan pages from scanner and worked well but when i made the project on IIS it is not work well and get me this problem Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the c...

How to find the alpha channel transparency value of a pixel in a png image?

I have an image that has alpha channel transparency, something like the image below. http://yfrog.com/86tagsp I want to recreate the same background color with rgba values in CSS but I can not find the real color of the background pixels and their alpha channel value. if I use any sort of color picker it will give me the absolute value...

jQuery hide/show <div> element appearing behind image

Hi all, I have a div with a height of 35 pixels and a hidden div with a height of 200 pixels. I have a jQuery function which hides the smaller div and shows the larger div when clicked. This all works fine. The problem is, when the larger appears it is behind an image which is below it. I have set the z-index of all affected object to...

Creating raw ISO image

How can I create raw ISO Image ? I mean I am programming simple system in assembler and I want to create an ISO which could put binary file (whole system is in one file) in BootSector. Could you help ? ...

Sending images by mail

I've written a mail that'll send emails with images as attachments. The images are displaying in yahoo and gmail. But hotmail is displaying a square grey box wherever there should be an image. The following is the code that builds the image. Of course I'm reffering to it in the mail using cid. Thanks a lot in advance. l_embedImage = new...

Is it possible to download images, videos onto the iphone?

I am building an application where we do updates for images and videos and was wondering if it was possible to download videos/images from a web-service that will host these assets somewhere on the iphone programatically? Maybe through a curl service or ftp? ...

Is there a way to add an image to a Cell using the POI Api?

I'm making an application that converts our data structure to an excel file. We're currently using POI to do the conversion. The problem is that the Cell only supports Strings, Numbers and formulas, and our data structure supports images. Is there a way to add images to cells? ...

Is there an easy way to "get" an image's size in PHP without javascript?

Say I have the URL of an image, is there an easy way to get it's height/width using PHP? I'd prefer not to use javascript if possible. ...

Image validation on Client side

Hi, Is it possible to validate the image dimension on client side using jquery or any other framework, Thanks in Advance Have a nice day. ...

What's a good client-side, resize-before-upload, flash/java uploader?

Hi, does anybody know a good client-side, resize-before-upload, flash/java uploader? We need this terribly on our project, since we have a lot of people uploading photos and most of them have photos which are bigger than 3MB. We want to be able to resize these photos before they get sent out to us. I've googled for client-side java/fla...

How to Store a byte array as an image file on disk in Java?

I have a byte array representation of a Image. How to save it on disk as an image file. I have already done this OutputStream out = new FileOutputStream("a.jpg"); out.write(byteArray); out.flush(); out.close(); But when I open the image by double-clicking it, it doesn't show any image. ...

How to convert an <img... in html to byte [] in Java

I have opened a webpage in HtmlUnit headless browser. Now that webpage contains a image html tag as follows: <img src="..." /> So I want that image only. But the problem is that the same src URL of the image shows diff. image each time. Means, if we refresh the img src URL, then it shows diff. image each time. So how to get the image...

Broken images in PHP from Dropbox over https

I have a strange situation with PHP working differently from HTML. I'm not a web programmer, just messing around. In HTML my images appear fine, in PHP the images are broken. And only public images from my Dropbox https server are broken, ones from a http server work. As an example, here are two files on my localhost, abc.html and def.p...

How to encapsulate image files into emails ?

Hi, Can someone explain me how to create "simple" email with embedded images files ? I know that there are tons of RFC that explain it but I don't really succeeded to do it. I have to build the body text of the email programmatically, without using any framework. Don't ask me about the language is used... Images are base64 encoded. Co...

select multiple images from photobook library at once

hello i would like to know if there is a way to load multiple images from a photobook on the iphone in one step into an array or something like that. i've seen a iApp with this kind of feuture before, but can't remember the name of this app anymore. in this app I had the possibilty to choose the first image. after that, a menu from bel...

What is the best way to save a PNG image with alpha transparency for IE6?

I am trying to save a 1 or 8-bit PNG image that looks nice in IE6. Do you have any suggestions? I have used Fireworks before, and that works pretty well, but I'm looking for other options. Thanks! ...

Hosting web site images: Flickr PRO, Amazon S3 or...?

Hi all, I'd like to save some of my site monthly bandwidth allocation and I'm wondering if I can use Flickr PRO or I should rely on Amazon S3 as an hosting service for my web site images. (My Web Application allows users to upload their own pictures and at the moment it's managing around 40GB of data) I've never used Amazon's services an...