image

Client-side image resizing with cubic interpolation?

Hey all,     I'm wanting to have a web interface for batch-uploading and resizing images to my server. I've seen quite a few solutions for resizing images client-side, most of them flash based. I really don't care what technology a client-side image resizer uses as long as it: Is reasonably fast Resizes images with some sort of interpo...

PHP GTK short path

I have the following PHP GTK code located in C:\gtk <?php if (!class_exists('gtk')) { die("Please load the php-gtk2 module in your php.ini\r\n"); } $wnd = new GtkWindow(); $wnd->set_title('Background'); $wnd->set_resizable(false); $wnd->set_position(GTK_WIN_POS_CENTER); $wnd->connect_simple('destroy', array('gtk', 'main_quit')); ...

Image Transfer from Facebook

I am doing a website registration via facebook connect I want to access user's facebook pic via facebook connect. My problem is nt displaying the pic, bt trransterring the picture to own server, so it can be served from my server How can i go about it, solution plssssssssssssss ...

find a color in an image in c#

Hi all, I stumbled across this youtube video here http://www.youtube.com/watch?v=Ha5LficiSJM that demonstrates someone doing color detection using the AForge.NET framework. I'd like to duplicate what that author has done but I'm not sure how to do some image processing. It would appear that the AForge.NET framework allows you to pull d...

How to convert every page in a XPS file to an image in C#?

Is there a way to convert every page in a XPS document to an image programmatically using C#? ...

Have a PHP page output a static image

I want a PHP to be able to send 1 of 3 images, depending on a $_GET[] parameter. I have the images as three separate PNGs right now, and would like the PHP script to have those embedded in it, then return the specified image. So, I want one PHP script instead of 3 images. Is this possible? I don't need to create special images on the fly...

PHP GTK button click

I'm trying to make this button change background when you click it and this is what I have: <?php if (!class_exists('gtk')) { die("Please load the php-gtk2 module in your php.ini\r\n"); } function loc(){ return dirname(__FILE__); }; $wnd = new GtkWindow(); $wnd->set_title('Picture Viewer'); $wnd->set_resizable(false); $wnd->set_...

Fill SVG path element with a background-image

Is it possible to set a backgound-image for a svg path element? For instance, if I set the element's class to wall, the css style .wall {fill: red;} works, but .wall{background-image: url(wall.jpg)} does not, neither .wall {background-color: red;}. ...

Error getting images to show up in Symfony 1.4.8.

Note: It was tough deciding whether this belonged here or ServerFault, but it seemed like a programming problem, so if it's out of place, feel free to migrate it. I downloaded the sandbox of Symfony 1.4.8 and copied the files to my webserver. Unfortunately, when I try to access /symfony/sf_sandbox/web/ (where I installed it), I get the ...

ajax image as response in php

Hi, I want to display an image as a response to an ajax call using php.. Does anybody have the complete code for this?? Please help me out.. Thanks in advance.. ...

Java Image Writing

I want to create thousands of dynamic images with Java. I've created a JFrame and a LayeredPane and put a JLabel on this. Then I am writing image contents in this JLabel. Then I create this image of this LayeredPane like this BufferedImage image = (BufferedImage)comp.createImage(width, hight); It creates the image perfectly but its si...

resize images using % in css

I am trying to create a liquid web layout using % for as many things as i can. I have hit a bump when resizing images. both: <img src="source" style="width: 20%; height: 20%;"/> and .wall_picture_block img{ width: 20%; height: 20%; } don't work properly with the height attribte. They resize the image width to 20% of the container...

php mail() link image

Hi, I am trying to send an e-mail using the following code: $htmlHeaders=""; $htmlHeaders = "MIME-Version: 1.0 \r\n"; $htmlHeaders .= "Content-type: text/html; charset=iso-8859-1 \r\n"; $htmlHeaders .= "X-Mailer: PHP/" . phpversion(). "\r\n"; $htmlHeaders .= "From: System <[email protected]> \r\n"; mail("[email protected]","Subject",'New ...

Problem about image cache on Android

Hi Guys! As lots of people do, I use Map and SoftReference to create image cache to cache downloaded image. In my implementation, the latest used bitmap will be putted at the first element of Map, so, when the image cache reach max cache size, the last element of the Map which is long-time not used will be removed, and SoftReference ma...

How to read header of Multiple dicom files in matlab??

Please can anyone tell me a method to read header of multiple dicom(mri) images and store them in a structure i really need to do this in my project ...

Uploading an image from android to a PHP server

Hi , I'm trying to upload an image from android to a PHP server by using MultiPartEntity but i have trouble to find the source of the problem , the progress dialog steel downloading without providing any response here my code : public String postFunction(String s_v1, String s_v2, String s_v3) throws ParseException, ClientProtocolExc...

php thumbnail - creates a grainy back and white image

Hi, My code below creates the thumb but it is pretty grainy and although not black and white looks pretty washed out. Any ideas how I can create a better quality thumb? $thumb = $targetPath."Thumbs/".$fileName; $image = imagecreatefromjpeg($targetFile); $width = 200; //New width of image $height = 92; //This maintains proportions...

insert frame title and subtitle for image in android?

Hi, I want to add frame to image with title and subtitle. The thing that I want to do is as follows : There are number of styled frames available and user selects any picture from the phone memory or takes a picture from camera, now on selecting any frame that picture should be in that frame. Also below that frame there should be title ...

C# make a list with image and label like Messenger

Hello, How can I build on C# a a list like on Messenger where contacts appear with an image and a text with the contact's name? What components should I use to build it? Using Winforms by the way. Thanks ...

creating a custom image based layout on android

Is it possible to create a layout based on (background) images? For example, there is well know app called Appie that uses this picture as a homescreen: I might be able to recreate the layout with a TableLayout, but this will be difficult to get it perfectly aligned with the buttons in the image. The default layout options make it ver...