image

Images for file extensions

Hi, I want the small images of different file formats (docx,ppt,txt etc.) to display along with the file names of corresponding type. Any link to get these images? TIA. ...

Greyscale darkening problem with Bitmap image in C#

I'm loading a 8bppIndexed greyscale image into memory and reading the pixel values. The problem is that the values I am getting from the pixels do not seem to match the actual image, they are always darker. My image is a simple grey gradient like this: The bottom right pixel is returning 191 and the top left 0. The top left is actu...

Serve a dynamically generated image with Django

How do I serve a dynamically generated image in Django? I have an html tag <html> ... <img src="images/dynamic_chart.png" /> ... </html> linked up to this request handler, which creates an in-memory image def chart(request): img = Image.new("RGB", (300,300), "#FFFFFF") data = [(i,randint(100,200)) for i in range(0,300,1...

Html Image over image

Hello, Can anyone tell me how can I add an image over another image without using Z-index or Z-order? Thanks! Adrian :) ...

Refresh image with a new one at the same url

I am accessing a link on my site that will provide a new image each time it is accessed. The issue I am running into is that if i try to load the image in the back ground and then update the one on the page I only get the same image. If i refresh the entire page then the image is updated. var newImage = new Image(); newImage.src = "ht...

Performance problem with large number of ColorMaps with ImageAttributes.SetRemapTable

I'm dynamically mapping colours in an image that has alpha transparency in it to another (smaller set) of colours. I've got code like: var mappings = new List<ColorMap>(); foreach(var color in mapcolours) { // Add mappings for all alpha values of the mask colour for(int i = 0; i < 256; i++) { var cm = new ColorMap()...

How do you store images for asp.net application?

We are just upgrading our ASP.Net shop implementation (from simple one) to structure that should be more flexible. I am just looking for some options how to store images related to product. (there will be two types of images, thumb of the product and then full view images of the product). It should handle at least hundred products. So f...

Rotate Hue using ImageAttributes in C#

How can I rotate the hue of an image using GDI+'s ImageAttributes (and presumably ColorMatrix)? Note that I want to rotate the hue, not tint the image. EDIT: By rotating the hue, I mean that each color in the image should be shifted to a different color, as opposed to making the entire image a shade of one color. For example, Origina...

NSImage vs. CIImage vs. CGImage?

When should I use each? ...

Is it possible to know if the type of the uploaded file is an image?

While user uploading a file, is it possible to know if the uploaded file is an image or not, I am open for any solution, Client Side, Server Side or both and we choose based on the case. ...

Images for Assembler, Interpreter and Compiler?

I got an assignment to make hand-drawn posters of Assembler Interpreter Compiler I googled for images of above three but not able to get some exact images which can define the above three properly. Can anyone share some image links which will give an idea about what is Assembler, Interpreter and compiler in computers. Thanks ...

How to make UI Image Picker Controller read a custom source type in iPhone

I have to create a photo gallery app in iPhone. It should function same as the Photos app which is shipped with iPhone. But it should show the images which I package with the app. UIImagePickerController reads only the following source types. UIImagePickerControllerSourceTypePhotoLibrary, UIImagePickerControllerSourceTypeCamera, ...

how to optimize image in java for performance

Hello all im transeffing image throw tcp/ip and i like to optimize it and still good quality as much as possible what kind of methods or algorithms i can use ? p.s now if i think about it maybe i should ask what is the best and the fast way to send image via tcp/ip ...

Best Programmer's Image Editor for OSX

I'm looking for recommendations for a programmer's image editor for OSX. I'm looking for something for preparing images for use in software and web applications - I'm not a graphic designer. On Windows I'd use Paint.NET. GIMP is not the answer (flakey and a disaster with Spaces) Must haves crop, resize canvas etc resample, bicubic ...

Why are my transparent images used in a Delphi 2009 Ribbon not transparent on runtime?

I just played around with the new Delphi 2009 ribbon, added a few pages, groups and actionclients (large buttons) to it. I created some transparent 32x32px PNGs in Photoshop and put them into a TImageList (set to cd32bit). I added this list to the Actionmanager's Images property, to show them on the buttons. At designtime the icons in th...

Resizing user uploaded images in an ASP.NET project – Library?

In a rather simple ASP.NET application where the user can upload a image, mostly from his digital camera. I have to resize it to a workable size for the web and a thumbnail. What is here the best practice for? Is there a library that I in a simple way can implement without installing something on the web server. ...

displaying images from different sources...

I am trying to generate an image report for a particular items. Every item has a unique item number, which is stored in the variable $pk. In this, calling up images/$pk.jpg and/or screenshots/$pk.jpg will show the relevant image or screenshot for the current item page. This works fine in the actual page, however not in my popup report. ...

How to read EMF - Enhanced metafiles?

Does anybody know of a library or a piece of code that can read EMF (Enhanced Metafiles). Ideally it would convert an EMF to a list of drawing commands and objects? ...

Java 2D Image resize ignoring bicubic/bilinear interpolation rendering hints (OS X + linux)

I'm trying to create thumbnails for uploaded images in a JRuby/Rails app using the Image Voodoo plugin - the problem is the resized thumbnails look like... ass. It seems that the code to generate the thumbnails is absolutely doing everything correctly to set the interpolation rendering hint to "bicubic", but it isn't honoring them on ou...

How to take screenshot of whole web page, rather than what shows on the screen

I have a web page that doesnt fit screen in normal resolution, so I have to scroll to view it all. I want to take a screenshot that captures the whole page, and not just what shows on the screen. How can I do that. Currently, I press F11, then zoom out till the whole page fits one screen (and consequently no scrollbar shows), then I pr...