Image On Screen Snippets


28 December, 2011   

Delphi Code Example for Print Screen using Quick Reports

28 January, 2013   

Save a screen capture of a Java Frame/Panel/Window

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

Essentially the trick is to draw the panel/frame/etc.

Essentially the trick is to draw the panel/frame/etc. into a BufferedImage and use the ImageIO class to write it to an image file.

Delphi code to display the screen size and the list of fonts

08 December, 2012   

Full screen background image using pure CSS3.

How to display visitors IP in an Image using PHP

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

07 September, 2011   

How to Center a form on the screen

In order to add a splash screen to your black berry app, you need to create an XML file, name it "blackberry-tablet.xml" and place it at root level --With your Application descriptor file.

16 August, 2011   

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

15 April, 2012   

PHP code example for an image CAPTCHA.

I had to scan a bunch of paper documents (one image per page), and upload them all to a web site that would accept only one PDF file containing the whole set.

Use this in the <head> of your HTML files.

02 June, 2011   

This is your most basic version of an image CAPTCHA.

As the most important building block of any Delphi application, the TForm object is most of the times used as is. Delphi's TForm object provides enough properties and events to help you do (and control) whatever needed with it. Sometimes you'll find out that a few events or properties are missing... Try creating a simple form application. Now...

Java code example to create thumbnail of an image

01 January, 2013   

This is the general page template. It has all of the essentials (along with a favicon link - not essential).

18 February, 2012   

CSS code example for a background image repeat vertically (y-axis), horizontally (x-axis), in both directions, or in neither direction.