image

How I can add JScroll bar to NavigableImagePanel which is an Image panel with an small navigation view?

Hi, I have the following NavigableImagePanel, it is under BSD license and I found it in the web. What I want to do with this panel is as follow: I want to add a JScrollPane to it in order to show images in their full size and let the users to re-center the image using the small navigation panel. Right now, the panel resize the images ...

Read text from an image with PHP

Hi, I would like to try to read some of text from an image with PHP. So if I have an image like this: Can I some how extract the "Some text" into a string. All help and suggestions are appreciated. ...

Serving image using strange URL

Hello, Some website has images with strange URLs For example below PNG image (Strange URL): data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAdCAYAAAA91+sfAAAAIElEQVRoge3BgQAAAADDoPlTX+AIVQEAAAAAAAAAABwDJF0AAcCDW58AAAAASUVORK5CYII= What type of URL is this? and how this works in that website? Thanks ...

scale Image in an UIButton to AspectFit?

I want to add an image to a UIButton, and also want to scale my image to fit with the UIButton (make image smaller). Please show me how to do it. This is what I have try, but it does't work: Add image to button and setContentView [self.itemImageButton setImage:stretchImage forState:UIControlStateNormal]; [self.itemImageButton setCont...

displaying an image in swing

I'm developing a Snake game. Instead of showing moving rectangle, I'm planning to show a picture and want to move it with keystrokes. but I can't do it with Jlabel. since labels are static in position. Is there any way to display them as a image only?? thanx. ...

PHP - Check to see if an image has a drop shadow added?

Hello, I'm wondering if there's a decent way or any of some sort to check an image to see if there is a drop shadow added. Doing this with php, if possible. Just curious if there's any clever way of going about this, possibly. Thanks, Shawn ...

How can I implement a color search for an image gallery?

I'm working on a simple image gallery project and I'd like to implement the ability to search based on a color hex code. So if someone enters 'ff1212' into the search, it will display only those images that contain that particular shade of red. I've seen a website that has a search that works the way I want: http://cssline.com (the AJAX ...

simple image slider

im looking for a simple image slider, it should slide image per slide, manual slide, show the image number , it should not open in lightbox or thick box, i want in the page, any help will be appreciated. ...

Looking for GD tutorial in C/C++

I see a lot of GD tutorials for PHP, even though GD was written in C, not PHP. Could you please suggest any good tutorial for GD in C? ...

Best way storing binary or image files

What is the best way storing binary or image files? Database System File System Would you please explain, why? ...

Python Image Library produces a crappy quality jpeg when I resize a picture.

I use the Python Image Library (PIL) to resize an image and create a thumbnail. Why is it that my code produces an image that is so crappy and low-quality? Can someone tell me how to modify the code so that it's the highest quality JPEG? def create_thumbnail(buffer, width=100, height=100): im = Image.open(StringIO(buffer)) if im...

Link to open a download dialog box

When I create a link to an image I'd like for a download dialog box to open when clicking it instead of the user going to a page containing the image. Is this possible? Thanks. ...

On-The-Fly Image Generation in PHP

I'm developing a script that will allow people to generate a banner for them to use. It's customizable. During the customization process, I'd like to be able to have the banner reload on the spot. So they could see the changes. Once they create the banner and are completely done with it I would give them a link for them to use. This link...

WPF/Silverlight image/video playlist

Hi, I'm somewhat new to WPF/Silverlight so please excuse my ignorance if thw answer is blindingly obvious... I have the requirement to create a piece of software which gives the user the ability to schedule a playlist of images and videos (possibly flash content too but this isnt essential). I've had a look at various WPF/Silverlight ...

Rotating Product images so they look like there merging into a differnent view

Imagine a page with three thumbnails on of differnent product views. When you click on a view the main image div would quickly transition into the new view. Say it was a shoe i was photographing and it had a sole view, top view and side view. My question is is there any way of giving the illusion of a spin e.t.c from one view to anot...

jQuery Image Fade Sequence?

Hey, I have a question regarding jQuery and image fading. I have a bunch of images and I would like to fade each one sequentially to full opacity when you load the page. My html code is below: <div class='mod'> <img src='image-src' alt='' /> <div class='mod-text'> <h2>Title</h2> <p>Caption</p></div> </div> <div class='mod'...

WPF: Allow user to resize images in RichTextBox

Is there a method within the RichTextBox control in WPF to allow for the user to resize inserted images, or do you have to devise your own method for this. What I'm trying to achieve is shown below, a screenshot of a WordPad doing what I want: Notes: Reading the RTF file as plain text I find that the control tags related to image s...

What is the fastest way(/make loading faster) to serve images and other static content on a site?

Ours is an e-commerce site with lots of images and flash(same heavy flash rendered across all pages). All the static content is stored and served up from the webserver(IHS clustered-2 nodes). We still notice that the image delivery is slow. Is this approach correct at all? What are the alternative ways of doing this, like maybe serving u...

Insert unknown number of Images to the report at runtime using reportviewer

Hi all, I'm using reportviewer and I would like to add an unknown number of images to the report on runtime. The user should select some images (in another place) and those images should be displayed in the report one after the other. Do you have any idea how to do that using reportviewer? thanks, Ofir ...

PHP form with images upload

How can I do a php and xhtml form that allows users to upload images and on submitting all the data is send to my e-mail? ...