image

How do I programmatically check whether a GIF image is animated?

Here is a link to another question I asked concerning the same project I am working on. I think that bit of background will be helpful. For those that are too lazy to open a new tab to that question, I'll summarize what I'm trying to do here: I've downloaded about 250,000 images from 4scrape and I want to go through the GIFs and find w...

Showing an image from console in Python

What is the easiest way to show a .jpg or .gif image from Python console? I've got a Python console program that is checking a data set which contains links to images stored locally. How should I write the script so that it would display images pop-up graphical windows? ...

creating an image in php, display works, saving to file does not

I am creating an image via a php script using imagepng. This works fine and displays well on the website. even saving-as gives me a valid .png file header( "Content-type: image/png" ); imagepng($my_img); $save = "../sigs/". strtolower($name) .".png"; //imagepng($my_img, $save, 0, NULL); imagepng($my_img, $save); This is the end part o...

Using javascript instant.js library for images doesn't work with ajax

I have an asp.net-mvc site and I use the below javascript library for a photos page to put borders around all of my photos http://www.netzgesta.de/instant/ i just changed my site to load my photos via ajax instead of reloading the whole page and although when i debug it the correct html is built up, i dont see any of the images: <div...

Image editor component in Flex / JavaScript

Hi everyone, I'm looking for a simple Flex or JavaScript based image editing component which can be embedded in a web application. It shouldn't be a web service but rather a component that I can download and customize (i18n etc.). I only need some basic features: most important is cropping, optional features would be rotating and adjus...

How to create hover effect on StaticBitmap in wxpython?

Hi, I want to create hover effect on StaticBitmap - If the cursor of mouse is over the the bitmap, shows one image, if not, shows second image. It's trivial program (works perfectly with a button). However, StaticBitmap doesn't emit EVT_WINDOW_ENTER, EVT_WINDOW_LEAVE events. I can work with EVT_MOTION. If images are switched when the c...

Pictures in SQL DB

Hi, how big (binary(xy)) should I make my table column in SQL database if I want to store there pictures taken by camera - that means variable size up to.. I don't know.. 7MB? But if I should rather limit the size up to 2MB or something, I would. Whats your opinion? EDIT Or where else should I store them? I am building a web gallery us...

What is a good easy class to change text to images

As many of you may already know I have been having issues with another site copying text from my site. The data is sports results that at first are not fully accurate because data is submitted at the event and people have to type in people's hand writing that can be difficult to read as well as other issues related to transferring data....

Problem images firefox

Hi guy, I have a big problem with my web site (you can see here), several user can't see images with firefox. I use too firefox but I don't have this problem. These users use firefox 3.5.2 with windows XP or VISTA. I have no idea to find the problem. Have you any idea ? Thanks a lot. ...

Problem getting image to save.

I am creating an image dynamically using php. The image is being created if I go in and make the file first. However, if I don't create the file manually then I get the following error. Warning: imagegif() [function.imagegif]: Unable to open 'filename2.png' for writing in /www/vhosts/yourraceresults.com/htdocs/trial/TextToImage.inc.ph...

image colors extractor API

Hi, Do you know any API to extract main colors from a given image (URL) ? I'd like to use this to make a dynamic CSS color scheme. Thank you. ...

Remove specific image from cache?

Is there a way to "uncache" an image file? I don't want to add a cache buster to the image src (it is a user avatar image) since I don't want to have to load the image on every page view. Basically the problem is that when a user uploads a new avatar, it won't show up until they reload the page since the old one is still in cache with ...

Image navigation

How to navigate the image using Keyboard arrow keys in C#. My 1st form contains listView. The listview contains 10 images in thumbnail format. The image are from particular folder. When I double click the image in the list view, it opens in a new window as large image. I want to navigate the image in the new window as per listview order...

Blackberry App, display images from Web

I'm using the Blackberry JDE (9000 simulator), and am wondering if I can display an image from the web. Currently, I'm seeing tutorials that use Bitmap.getBitmapResource to display images that are local to the blackberry application, but looking at the API, I'm not seeing any support for giving a web URL. Are there other Blackberry ima...

Get dominant colors from image discarding the background

What is the best (result, not performance) algorithm to fetch dominant colors from an image. The algorithm should discard the background of the image. I know I can build an array of colors and how many they appear in the image, but I need a way to determine what is the background and what is the foreground, and keep only the second (for...

Echo/print a jpg-image with php, for safety?

Because of safety (check if user are logged in), I call a php-document when showing images. <html>... <img src="showImage.php?id=455" /> ...</html> showImage.php: <?php... if($_SESSION['user']){ //Get the src to the image $_GET[$id] = mysql_real_escape_string($_GET['id']); $result = mysql_query(" SELECT src ...

Website for generic web images used as background for header text?

For some web sites I want to have a header text on top of an image. I don't want the image to be a photo, a picture of anything nor a repeating textured background. I am not sure what I am looking for but the image needs to be subtle and not strong. An example could be random color waves. The idea is to use these images instead of a bor...

How does Doctype do its screenshot manipulation?

Doctype does some pretty neat screenshot manipulation, you know, the paper curl effect with the clip, shadow, etc. What amazing serverside library does this? or can do this? I know of ImageMagick which does all sorts of image manipulation but it doesn't come close to the kind of stuff that Doctype's screenshots are made of. ...

Detecting File Compression

I have to read some data stored by a third party application in an Acess 2000 database. The vendor is no longer around to ask questions. One table contains image data that appears to be compressed - because the original application can export the contents of the blob field to an embedded png image in a xls export file. I have extracte...

how to open camera from native applicatioon in iphone?

i want to write a app in which i open the camera.take a picture and then edit the picture..means put some cool effects on it...something like image editing...does some one knows a good or i say best approach to achieve this? i want to know that is open-gl necessary to create an aap like image editing? i have iPhone with OS 2.0. i also h...