Image Resizing Snippets


This technical tip shows how to read the image and mark all the barcode regions, for all the recognized barcodes in the image. The barcode region is the part of the image that only contains the barcode itself. In a large image, it is possible that there are other texts or images along with the barcode. Getting the barcode region will separate...

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

The example below shows how to produce a png image from python code, but pygments supports lexers for many other languages and its formatter classes can produce other image formats too. The ImageFormatter class allows to set various parameters of the resulting images.

13 August, 2011   

If you're looking for a way to spice up your web site, this JavaScript tip may be just what you're looking for. You can use JavaScript to highlight an image when you place your mouse over it. This JavaScript tip provides a great way to highlight your navigational buttons or whatever you'd like.

PHP code to display a thumbnail image on the page without saving it

03 June, 2013   

Matlab example code for DoubleFlip Image

Example shown here CSS + Inline Image Technique

Absolute Center (Vertical & Horizontal) an Image

01 February, 2011   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible, because...

24 December, 2012   

jQuery plugin code to image selection

JavaScript Code example to highlight an Image on Mouseover

28 December, 2011   

Delphi Code Example for Print Screen using Quick Reports

17 February, 2019   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead, you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible because...

15 April, 2013   

CSS Code for Pure Rollover

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.

13 April, 2014   

CSS code to center image in div with overflow hidden

11 March, 2015   

PHP code shows how to upload images into a mysql database using

CSS code example for Diagonal Graph Paper Gradient

jQuery example code to add image to browser cache

13 April, 2013   

How to resize an image to fit in a desired space.