image

Moving the background image of iPhone upon event

I have a navigation based app where a certain pushed view has a nice background image. Now this view contains a UITextView which is transparent so my background shows all over the whole view except the top which holds the navigation bar. Now when I start editing the textview I would like the for the textview and the background image to "...

Is there an opensource java library to interface to an image scanner ?

Hello all, I would like to make a tool to capture images from an scanner, is there an opensource java library to control / interface with a scanner? (I found JTwain but is about EUR 3000) Thanks! ...

Command-Line program process png to 18bit

Is there a command-line program that can process pngs(and other formats) to make them 18bit 262k colors. Something like imageprocess -bpp 18bit ...

Rollover without image change

Hi all! I have a small thumbnail image that I wish to change when the mouse rolls over it. I was wondering if there was a way to do this without swapping images on the rollover. For example, through CSS could I have the opacity change on rollover? If you have any other ideas about how to manipulate the image with CSS on rollover for ...

Parse php image data to an OpenCV function

Is there a way to parse image data in a php variable to an opencv function? I want to do this without writing image to the hard disk using php and then reading it back to feed OpenCV function. This is related to this question ...

Overriding NSURLCache's cachedResponseForRequest to cache UIWebView assets with Three20

Hi all, I need to cache a web-sourced image (i.e. not bundle sourced) that is going into a webview. Normally I'd just request the image and convert it into base-64 and stick it in the HTML, but if I have 100 images in line I can't quite do that. So I searched around a bit and found a way to grab the image request by subclassing NSURLCa...

Influencing Web Browser Resource Load Sequence

I have a legacy site that has dozens of little images on it. In addition, a CSS sprite is used for a variety of styling components. My browsers are loading the CSS image after the slew of HTML images, so the styling is blocked by the number of pending HTTP requests. I really want the CSS to load first, as many of these HTML images are...

hexcode for images in iphone

is it possible to store image in the form of hexcode to database as i have my database loacally now my app is working fine but still i am calling images from web as i cant store all images to locally so whats the best way to call those 2000 images?? directly form web or some encoding ?? ...

Picture from Datagridview to picturebox

I have a datagridview that contains some text and a image. The image is user added so each line will probably have a different one. Im looking for a way to take the image that is placed in the datagridview and drop it back into the picturebox. I have no clue where to do with this. There is a dataset made but I am totally lost where to go...

Image Shuffling with another image

This is in continuation to a question Image Shuffling in one of my threads %# scramble autumn.tif with itself img1 = imread('autumn.tif'); %# scramble [dummy,scrambleIdx] = sort(img1(:)); img2 = img1; img2(:) = img1(scrambleIdx); %# note the (:). If you don't use it, img2 becomes a vector %# unscramble [dummy2,unscrambleIdx] = ...

php + rss: why isn't the image showing up?

I'm making my own RSS feed in PHP for my website, which loads the blog my website has from a table called 'blog', it all works as it should except for one thing...no images are showing up at the articles. Here's the output piece of my code: while($data = mysql_fetch_assoc($news)) { echo "<item>" . chr(10); echo "<title>[$data[ty...

Filemtime/cachetime where am I going wrong?

What I am trying to do is check the age of an image, if its older than 60 minutes then run another php page to fetch images otherwise do nothing if less than 60 minutes old.... The script isn't opening the 2nd page (radartest.php) and running it to update the images, so need a command to tell it to run as a script please. <?php $imagen...

Image dissolve effect with continous loop using javascript animation

Hi guys, I have 5 images and i want each image to dissolve at first and switch to the next image. This should happen in loop using javascript animation. Can anyone plz help me giving code for this or give an idea about it??? ...

custom UIButton image is getting reduced (shrinked) in iphone OS 4.0

Hi all I am facing very strange issue. When I was running my app in iPhone OS 3.2 the image which i have set for custom UIButton was looking like : (see attached image.) But when i tried to run the same project with iPhone OS 4.0 the image is changed. Can anybody figure it out, what 's the issue. I also tried to set background ima...

listview tiles not showing images (.NET2.0 , VB , winforms)

Im trying to fill a listview(tiles) with posters and titles of a DVD collection but only the titles become vissible. this is my code: Private Sub fillListView(ByVal listView As System.Windows.Forms.ListView, ByVal col As Collection) listView.Items.Clear() myImageList = New ImageList() For Each item As bsDVD In col Try myImageLis...

Rotating a single image (but not the others) on an html5 canvas?

I have a sprite I'm animating on an html canvas using normal sprite sheet blitting. On certain key events I'd like to change the direction of the sprite (ie, flip it, or rotate it 180 degrees) without changing anything (the other sprites) on the canvas. Does anyone know how to do this? ...

How can I get the width and height of an Image?

My plan is to load a picture from a users hard drive and then do some wizardry on it in memory. First thing is first, how can I get the height and width from an Image? Also, say I wanted to select a rectangular piece from the image, how would I do that in memory (no GUI)? Thank you for your guidance. ...

Android ImageButton setImageResource from variable

I want to setImageResource for an ImageButton programatically, based on a variable. For eg: if size=5, I want to setImageResource to R.drawable.five if size=6, I want to setImageResource to R.drawable.six Unfortunately, I have too many of these, so an if-else or switch gets tiring. Is there a way to achieve something like: R.dr...

JAVA: Put Image in jTable Cell

Hi I need to display an image in one of jTable cells. I wrote this: class ImageRenderer extends DefaultTableCellRenderer { JLabel lbl = new JLabel(); public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { lbl.setText((String) valu...

One more bash (now .bat) script

I need to convert about 12000 TIF files in many directories, and try to write bash-script: #!/bin/bash find -name "*.tif" | while read f do convert "$f" "${f%.*}.png" rm -f "$f" done Why it say: x.sh: 6: Syntax error: end of file unexpected (expecting "do") and what I should to do? Great thanks to you all, men, but I was cheated:...