image

Retrieve Images From Server via Client Side

Hello StackOVerflow, I have a folder on the server with some images in it. I would like to have my client code read this folder's contents (images) and then display this image on a div. I thought this would be easy with AJAX, but it seems that AJAX returns some raw data embedded in the image. I have been looking all over for a way to...

iPhone image resource - 1024 maximum, 2048 pixels @2x?

The restriction of 1024x1024 as the largest image for an iPhone is a problem with iPhone 4. However if an @2x image is used with maximum dimensions of 2048x2048 everything looks equally good on the 4 as it does on a 3 - tried and tested in simulator and device. Question is, does the image dimension restriction relate to the UIImage or th...

Looking for a jquery continuous image scroller.

I'm looking for a horizontal jquery image scroller that I can used to display a large list of logos. I was able to find almost exactly what I needed here : http://kiusso.net/scripts/imageScroller_jquery_plugin/index.htm The only problem with this example is that when I implement it the scrolling kept speeding up and slowing down becaus...

Replace image in jquery

How can I do this: I have a CHECKMARK image wherein when I click that image, it will be replaced with a LOCK image. How can I do this in jquery and php? ...

How to Convert a 12-bit Image to 8-bit in C/C++?

All right, so I have been very frustrated trying to convert a 12-bit buffer to an 8-bit one. The image source is a 12-bit GrayScale (decompressed from JPEG2000) whose color range goes from 0-4095. Now I have to reduce that to 0-255. Common sense tells me that I should simply divide each pixel value like this. But when I try this, the ima...

Optimal image storing?

Possible Duplicate: manage uploaded files in database or file system? Hi! I'm currently developing a website I just want to know of it is more optimal to store images in a table(MySQL) or to store the reference to an image in the table ? In the latter, the image is stored in a directory in a server instead of SQL-database M...

PHP File Upload Problems

I wrote a Facebook app in PHP and need to be able to allow the user to upload an image to my server. I have used this code: <?php include_once('facebook.php'); $appapikey = 'API KEY HERE'; $appsecret = 'SECRET KEY HERE'; $facebook = new Facebook($appapikey, $appsecret); $fb_user = $facebook->require_login(); if((!empty($_FILES["upload...

How to compare two .PGM images in Java?

Hi, i need to compare 2 .pgm images in java. I use this to display the image: PlanarImage pgmImage = JAI.create("fileload", "test.pgm"); ImageIcon icon = new ImageIcon(pgmImage.getAsBufferedImage()); The comparing type is: Image A, px 1 = 220; Image A, px2 =....; Image A pxN=...; Image B, px 1 = 180; Image B, px2=....; Image A pxN...

Image editing using Facebook API

Hi, I am developing an Facebook app that lists photos from user's Facebook account. My app also allows to edit the photos listed. Now, I want to sync the edited image to user's account. i.e. I do not want to upload the edited image as separate image; rather save it as edited image in his account. Is there any Facebook services availabl...

java.awt.image.BufferedImage 24-bit RGB to 8-bit Grayscale conversion using custom ColorSpace

I want to do a simple color to grayscale conversion using java.awt.image.BufferedImage. I'm a beginner in the field of image processing, so please forgive if I confused something. My input image is an RGB 24-bit image (no alpha), I'd like to obtain a 8-bit grayscale BufferedImage on the output, which means I have a class like this (deta...

How to combine multiple PNGs into one big PNG file?

I have approx. 6000 PNG files (256*256 pixels) and want to combine them into a big PNG holding all of them programmatically. What's the best/fastest way to do that? (The purpose is printing on paper, so using some web-technology is not an option and having one, single picture file will eliminate many usage errors.) I tried fahd's sugg...

android image capturing

Hi all, How to add text to camera captured image and save in the DB. Thanks Quest ...

iPhone: View image from MySql database on server

Hi everyone, I am newbie with iPhone programming. I have a task that upload image from iphone to server and store it in Mysql database on server. After that I retrieve the image from database and display it on iPhone. On Upload: I used ASIFormDataRequest to send image data to server and a PHP script (uploadpicture.php) will store imag...

Preloading image gracefully in Javascript (without any JS library)?

Hello, I have an image with set src attribute. I would like to replace image, but connection with the server is slow and time that it takes to load a new image is not negligible. Is there possibility to create internal Image object, set kind of "onLoadListener" on it, load an image and then set it to original image src attribute? ...

Using Remote Image in ImageMagick

Hi all, I'm trying to do a simple thumbnail generation from an image that isn't located on my server using the iMagick wrapper for ImageMagick. For some reason, the following code will not display anything when called: <?php $image = new Imagick("http://kunaki.com/ProductImage.ASP?T=I&amp;ST=FO&amp;PID=PX003Y9EDJ"); $image->thumb...

Dot in file name?

Is it okay to use a "." (dot) in file names instead of camelcase or dashes etc.. for example: ico_active.user.png Will it cause any performance or browser compatibility issues or some other disadvantage? Thanks! ...

Looking for fast C++ graphic's lib. and compatible GUI lib

Hi everyone! I looking for FAST library (the best with hardware acceleration) for manipulation on 2D graphic (load image, change value of pixels, change all R/G/B layer from one image to another, save, show effects). I work with Visual Studio 2008/2010 IDE, and programing in C++ so I need lib worked with that. I have experience with SD...

Resize Image in rails on serve

Hi, I'm making a application with ruby on rails and I was wondering if anyone knew of a gem or plugin to resize images as they are served similar to http://shiftingpixel.com/2008/03/03/smart-image-resizer/ Thanks. ...

url rewrite deosnt access my css and images? why

i have this rewrite rule for my urls, it deosnt seem to acess the css and images, why? :)) orginal url its working: http://www.example.co.uk/viewprofile.php?user=muna rewrited url, this deosnt work: http://www.example.co.uk/user/muna htaccess code: RewriteEngine On RewriteRule ^user/([^/]*)$ /viewprofile.php?user=$1 [L] my css ...

Clipped images in list items

I've got list items where a rollover image exceeds the bounds of the list item. Is this possible without the image being clipped? List item rollover graphic: Result: Current css: ul.nav a, ul.nav a:visited { padding: 5px 5px 5px 15px; display: block; clip:none; } ul.nav a:hover, ul.nav a:active, ul.nav a:focus { ...