Archive for MyGrowUp

Get Photo/Image Infomation in JAVA

In project, we need to get photo’s original date when user uploads photos. I found a very useful open source library: Sanselan
” This Pure-Java library reads & writes a variety of image formats, including fast parsing of image metadata (size, color space, icc profile, etc.).
This library is pure Java. It’s slow, consequently, but perfectly portable. It’s easier to use than ImageIO/JAI/Toolkit (Sun/Java’s image support), supports more formats (and supports them more correctly). It also provides easy access to metadata.
Although not yet version 1.0, sanselan is working and is used by a number of projects in production. “

Leave a Comment

Object tag is always on the top

When I tried to display a video box under a div in, it is always displayed on the top even though I set z-index a larger number. The solution is insert the following param tag:

<param name="wmode" value="transparent">

Comments (2)