image

Creating a jpeg from several overlapping png's

So on my site, a user has the ability to create an avatar. It's created by the user selecting from several images; there is a base "skin" image, and png's that overlap that image that depict hair, eyes, mouth, etc. I cannot save the user's avatar to the project's files, so the user's avatar data is stored in the database, and the png's...

I need to resize images upon upload in Java / Struts. How to do this?

The title says it all. We're building an application that handles image uploads. I want users to be able to upload an image at a given size, say 128x128, and then have the server automatically generate other sizes based on that, such as 64x64, 57x57, and 25x25. Are there libraries that can help me with this? Edit: I should note that th...

iPhone SDK: set animated loading (gear) image to UIBarButtonItem

Is there any way to set an animated image like the Apple spinning gear to an UIBarButtonItem? I have tried this line of code but the animated gif image wont play: myButton.image = [UIImage imageNamed:@"spinningGear.gif"]; Solution found here: How to use a custom UIBarButtonItem to display a UIActivityIndicatorView ...

How can I import raw binary data into an image in Actionscript 2.0/Flash 8?

Let me preface this by saying that I am something of an actionscript newbie. We have a system that allows a user to upload any image, which we store on the server. Of course, it is simple to load an image (that you know the path to) using loadMovie, but I also want to load certain pieces of meta data about the image that is precalculat...

Core Data - Storing Images (iPhone)

I have an application where I allow the user to add an image for their account. I wish to know how to store an image (obtained from the camera or photo library) using Core Data, as I may offer a backup facility for the user and would be looking to transfer the image data to a server. I have come across the design suggestion of creatin...

How to specify an image to appear in facebook link to your site?

Silly question: Seeing as how Facebook will automatically sniff out images from a website when somebody links to it, is there any way to give Facebook a hint as to which image you'd prefer be used from your site? Currently, the logo image that I'd like to appear doesn't even show up in the list that Facebook generates. Any ideas? ...

What datatype to use for image data to avoid std:bad_alloc?

I'm developping an imaging library and I'm struggling with the image data datatype Since images can have variable datatypes (8 bits per pixel, 16 bits per pixel) I thought of implementing my image data pointer to void* pimage_data; however void* leads to all kind of nastiness including ugly pointer arithmetics such as pimage_data ...

is there anyway to have images as the nodes in microsoft glee

i see this post but i can't figure out any way to have a node represented as an image and have the text be a label below the node. Does anyone know if this is possible using Microsoft GLEE? ...

Divide large image into A4 sized images

I would like to split a large PNG file into A4 pages so they can be printed out easily. I would like to use a Linux command line script to do this: shell> split-into-a4-sized-pages some-big.png ...

Flex + Image + Disable Drag

How do I diable the drag-drop of an image. I've tried to stopPropagation, but that didn't help. Here is the snippet of the code that I've written <mx:Image width="24" height="24" complete="init()" dragStart="disableMove(event)" source="{(data.id==null)?'': (data.id.search('\\.') > 0) ? 'assets/icons...

QT QImage pixel manipulation

Hi, I am building a QT GUI application and use QImage for opening images. My problem is that I can't figure out how to use QImage's bit() and scanline() methods to get access at per pixel level. I've seen this post http://stackoverflow.com/questions/857962/qt-qimage-pixel-manipulation-problems but this is only for the first pixel of ea...

remove extra space beneath picture

Hi, I have a picture on my website which has to much space beneath a picture. I tried to search for extra tags, but I quess it's controlled in a css file. Can someone tell me which part of the css is responsible for the space? The location is: images/artikelen/123.png this is a part of the html leading to the css containers which I t...

Creating WPF BitmapImage from MemoryStream png, gif

Hi I am having some trouble creating a BitmapImage from a MemoryStream from png and gif bytes obtained from a web request. The bytes seem to be downloaded fine and the BitmapImage object is created without issue however the image is not actually rendering on my UI. The problem only occurs when the downloaded image is of type png or gif ...

Java - drawing many images with Graphics.drawImage() and 2-screen buffer strategy distorts and cuts images.

I am using a loop to invoke double buffering painting. This, together with overriding my only Panel's repaint method, is designed to pass complete control of repaint to my loop and only render when it necessary (i.e. some change was made in the GUI). This is my rendering routine: Log.write("renderer painting"); setNeedsRender...

Saving preview images for a content catalog application

I'm writing a plug-in for another program in C#.net that acts as a catalog creation and search tool for custom content we've created at my office. An administrator will picks a root catalog folder, and the app will then parses through all the subdirectories looking for specific file types. Then it generates a Catalog by saving the rela...

Alternatives to "canvas.toDataURL("image/png");" in JavaScript?

I'm working on a Palm Pre app and I need to find an alternative to "canvas.toDataURL("image/png");". Ideally it could export the canvas image to a jpeg file but png would be find also. ...

android - save image from web server and set it as wallpaper

Hi, Can anyone please provide me some idea/guidance on how to save an image from a webserver and set it as wallpaper? i am developing an android application which needs to do that and i am new in android. Thanks a lot. I had tried writing my own code but it doesn't work as i can't find my images after download but the wallpaper has cha...

Scanning a coin and then determining the date from the image

I want to write a .NET program that takes an image of a specific coin type (say a US nickle) and then searches the image for the year. Assume the scan is always 300dpi and has a consistent image size cropped to the coin. What changes is the rotation of the coin. So how would I determine the date? Should I image match by creating a libra...

ASP.NET [Image Handler]

I'm still trying to load my image from database. But that's not so easy with my skins to understand the shots : Using Handler I read this stuff and was on trying to make it but I found only one method : Mapping some my page (in webconf) to this handler (ashx) I need to use it in my page in my and Thank you. ...

Graphviz subgraph fixed width with unlimit height

//input.dot digraph G { graph [bb="0,0,10,1000"] node [width=1 height=0.5 fixedsize=true]; 1[shape=rectangle]; 2[shape=rectangle]; 3[shape=rectangle]; 4[shape=rectangle]; 5[shape=rectangle]; 6[shape=rectangle]; 7[shape=rectangle]; 8[shape=rectangle]; ...