image

Convert SWF to PNG

I'd like to be able to take a 1-frame SWF file and convert it to PNG through PHP. I'm okay with using command-line tools to get this done. How could I go about doing this? I found an ActiveX library, but that seems like one too many layers. I also see that Gnash seems to have a PNG output class, but I can't figure out how to get to that...

Converting PDF to images automatically

So the state I'm in released a bunch of data in PDF form, but to make matters worse, most (all?) of the PDFs appear to be letters typed in Office, printed/fax, and then scanned (our government at its best eh?). At first I thought I was crazy, but then I started seeing numerous pdfs that are 'tilted', like someone didn't get them on the s...

Html - embed image directly in html (old school style)

I know you can embed images in html today with: <IMG SRC="data:image/gif;base64,RAAA...more data....."> But back in the day, when Netscape was a browser to implement for, there was another way of doing this. I can't remember. Any suggestions would be appreciated. ...

extract font character image from ttf file

Hi! Does anyone knows how to extract the characters image from a font(ttf) file? ...

PHP Transparent Image Layering Problems

I just can't tell why this: <?php $image = imagecreatefromjpeg($_GET['u']); imagealphablending($image, true); imagesavealpha($image,true); $overlay = imagecreatefrompng("overlay.png"); imagealphablending($overlay, true); imagesavealpha($overlay,true); $finalImage = imagecreate(85,85); imagealphab...

AppEngine/Python, query database and send multiple images to the client as a response to a single get request.

I am working on a social-network type of application on App Engine, and would like to send multiple images to the client based on a single get request. In particular, when a client loads a page, they should see all images that are associated with their account. I am using python on the server side, and would like to use Javascript/JQue...

WPF Image control to progressively load multipage tiff

I'm wondering if there's an existing control or if it would be straightforward to develop a control allowing a multipage tiff to be progressively loaded over a network? I'm working with some tiff images that are up to thousands of pages, and it would be great to have the image start to appear as soon as a page or pages are downloaded, an...

Rename image file name in matlab

Hi I Load 10,000 image files from internet site and i save it in the folder to use it in my project (image retrieval system ), now i need to rename image file in a sequential name like (image1,image2,image3,....image10000) , any one can help me... I would like to inform you that I used matlab in my work thank ...

convert 24Bit per pixel to 8 bit tiff

i want to convert a 24 bit per pixcel(Rgb) int 8 bit per pixel tiff image is there any code to convert please share or tell me the algo in c sharp ...

orkut/facebook like image compression

I want to know compression technique used by orkut/facebook albums which compresses image without losing the quality(visually) Or the alternative way to achieve the same effect ...

Image loading, C language and GTK

I keep getting a broken image (a red 'X' in a paper, it doesn't even start loading the one i want, I don't know if this is clear enough) and don't know why, here is what i tried: image = gtk_image_new_from_file("abc.png"); gtk_container_add (GTK_CONTAINER (window), image); gtk_widget_show (image); gtk_widget_show (window);` I am a new...

making undo in python

hello first of all .. sorry if my english was bad. its my 3rd language im working on a paint software that draw over images and save them again ( for commenting propose ) i use pile and wxpython. but im still having problems with some features .. what is the ideal way to make the undo option ? another question .. when the user scal...

Flash image upload with mandatory crop?

Anyone know of a Flash file (image) uploader that will force a user to resize and/or crop their image BEFORE uploading it? To then upload it as well. Basically, I don't want my server processing the image resize/crop. I want to specify a target aspect ratio and have the user resize and crop their image to make it fit. I've seen croppi...

How can I add images to my desktop application without increasing the executable file size too much?

I'm building a desktop application and I occasionally add images to the solution explorer. When I "Build" the application, I notice the .exe file increases in size. If I add an image that's 40kb, the .exe increases 40kb. All in all, my application is currently 12mb, and I think it's a bit too much for people to download. Is there a way...

How to download hotlink protected images?

I want to download images from other websites that are hotlink protected. I don't want to link those images to my website. I just wanted to download them. ...

How to use .svg files in a webpage ?

Hi, I want to know how can one actually use a .svg file In a web page? Thanks, Parastar ...

security exception when loading web image in jar

I am trying to create a java jar Applet that will run in a browser, download an image from a URL, and display it to the user. My implementation is: try { String imageURL = "http://www.google.com/intl/en_ALL/images/logo.gif"; URL url = new URL(imageURL); img = ImageIO.read(url); } catch (IOException e) { System.out...

Problem with generating XPS documents with images in a WCF class library

I have a Silverlight application which uses a web service in order to create XPS documents. The document templates are created as XAML controls in a WCF class library. public void GenerateXPS() { Type typeofControl = Type.GetType(DOCUMENT_GENERATOR_NAMESPACE + "." + ControlTypeName, true); FrameworkElement control = (FrameworkE...

How to generate a thumb image?

I have a folder of about 20000 images, and I need to generate thumb images for them. What's the fastest way to do this job? I know I can do it using some image resizing libraries. But I am wondering maybe there's already a tool or code snippets that could do this job. ...

Determining colour hex value for image in C#

Hi, Is it possible to determine the hexadecimal colour value for an image in C#, if the image is a single block colour? I have a load of colour chart images, and need to put them into a table with the requisite hex value attached. Unfortunately, the file name is useless to determine this. Regards Moo ...