image

Reading Image from AJAX response

I have a url that when requested will return an image. I want the url to be requested through an AJAX request. The ajax request returns binary data which is what is being deplayed. but i want the actual image displayed not the binary data. Am using php on the server side and i have set the below headers: header("Cache-Control: no-cache,...

Is there a way to convert GUI in image to html?

Hi guys, i have this GUI screen shots from the design team which i needs to convert to a web page and what not. i'm thinking of finding some website which resembles the GUI so that i can copy and paste the html so i don't have to start from scratch. the only drawback about this method is i don't know what website actually looks like that...

Image Optimization

I want to know like converting an image (gif or jpeg) to png8 using yslow smushit will increase the speed of the site performance? Will that work in ie6? webdevelopertut ...

Getting image names from DLL as a List ?

Hi, I created a DLL for encapsulating my Images and after that I want to get image names from DLL as a list. Before posting this post I googled about it and I saw an example that is below. public static List<string> GetImageList() { List<string> imageList; System.Reflection.Assembly BOAUIResources = System.Reflectio...

A generic error occurred in GDI+.

[ExternalException (0x80004005): A generic error occurred in GDI+.] IpitchitImageHandler.Data.ImageRepository.AddNewTempImage(Stream image, String extension, Guid PageId, Guid ImageId, ImageTransformCollection toDoTransforms) +1967 IpitchitImageHandler.Data.ImageRepository.AddNewTempImage(Stream image, String extension, Guid PageId...

.Net library for saving an image to Mac's PICT/PCT file format

Does anyone know of a .Net library for saving or converting an image to the Mac PCT/PICT file format? I can save a JPG to PCT/PICT format in Photoshop; and I see this LeadTools library for $995 dollars, but would like to spend less money than that for the simple convert. I don't need all the other features this costly library supports. ...

How can I display a bitmap image in a Java applet?

I am having a hard time figuring out how to show an Image (or ImageIcon) in a Java applet. The following is my code. The picture (test.bmp) does exist and is on the D drive but when I run this I get the applet window with nothing in it. Can somebody tell me what I am missing to make the ImageIcon show? public class Form1 extends JAppl...

Resize large images in App Engine

I've got an app on Google App Engine that will accept image uploads from users. The problem that I envision is that users will upload these images directly from their cameras, and file sizes are often greater than 1MB, which is the limit for the image API (which would be used to resize the images). What's the best way to accept the uplo...

Image display within GridBagLayout Java

My image is passed into my program from a server and saved as a string. I want to convert that string into an image, and then in turn display that image within a label inside of a GridBagLayout. When I execute the below code, I get a blank frame. No exceptions during execution. When I look at the image object from the ToolKit in debug, i...

Intergrate Galleriffic with Lightbox, how?

Hello, Anybody has a idea how to intergrate Lightbox 0.5 with Galleriffic? (http://www.twospy.com/galleriffic/) When you click on the download button/text I want the image to open in a lightbox. Greatings, Bas ...

xslt/xml byte array, to a image

I am getting back a image from SQL server as a byte[]. Can I use xsl transform to convert it into an actual image for a webpage? How, may I do so if this is possible? ...

Resize images in directory

Hey, I have a directory full of images that I would like to resize to around 60% of their original size. How would I go about doing this? Can be in either Python or Perl Cheers Eef ...

How do you center an image in a specified area, without resizing the image?

I want to center an image in an area, without resizing... I am using HTML. Example: I have an image <img src='img1.png' width='64' height='64'> - the image is actually 64x64. It displays perfectly. Now, I have another image <img src='img2.png' width='64' height='64'> however, the image is not as big as it should be, its 32x32 - what ...

Resize an Image and keeping Metadata/property item

The .NET libraries do an excellent job at resizing images that look great: Bitmap newImage = new Bitmap(newWidth, newHeight); using (Graphics gr = Graphics.FromImage(newImage)) { gr.InterpolationMode = InterpolationMode.HighQualityBilinear; gr.DrawImage(srcImage, new Rectangle(0, 0, newWidth, newHeight)); } One problem I'm ha...

Image caching vs. image processing in PHP and S3

Hi guys! Here is the thing. Right now I have this e-commerce web site where people can send a lot of pictures for their products. All the images are stored at Amazon's S3. When we need a thumbnail or something, I check over S3 if there is one available. If not, I process one and send it to S3 and display it on the browser. Every differe...

Image.FromFile is very SLOW. Any alternatives, optimizations?

I have a winforms image list which contains say like 200 images 256x256. I use the method Images.FromFile to load the images and then add them to the image list. According to ANTS .NET profiler, half of the program's time is spent in Images.FromFile. Is there a better way to load an image to add to an image list? Another thing that mi...

Howto embed images in Actionscript 3 / Flex 3 the right way?

I'm creating a game where a lot of images are being used in Actionscript / Flex 3 (Flash). Now that I've reached the designer stage, I have to work out a structural way of using embedded images (which have to be manipulated with rotation, color, etc.). Unfortunately, after investigating a bit, it looks like you have to manually embed im...

loader problem

Hi, I want to know whether it is posible to have loader which will run till all the images in the page been loaded to the page . I have a website http://ranjoy.athost.net/ which is having some png large size images, i want all the images to load before the animation start .... plz help ...

Jquery Image Gallery with categories

I am going to use the Galleriffic jquery plugin to display my images (please look at demo here: http://www.twospy.com/galleriffic/advanced.html I want to include categories above the gallery, but when each category is clicked I want the image gallery to change dynamically. That meaning, I don't want the page to reload each time a catego...

PHP/GD, how to copy a circle from one image to another?

Is there a reasonably straightforward way to copy a circular area from one image resource to another? Something like imagecopymerge except with circles or ovals etc? If possible, I want to avoid having to use pre-created image files (any oval shape should be possible), and if there's transparency colours involved they should naturally le...