Thursday, May 31, 2007

Adding and Editing Scalable Vector Graphic (SVG) Files in the Mobility Pack

With the JSR-226 support included in the Netbeans Mobility Pack for CLDC/MIDP 5.5, you can now use Scalable Vector Graphics (SVG) files to add vector-based graphics to your mobile applications. SVG files are compact and give you a way to provide high-quality graphics on resource-limited handheld devices. SVG also supports scripting and animation, so it is ideal for interactive, data-driven, personalized graphics.
This article shows you how the GUI-based Visual Mobile Designer within the Mobility Pack software enables you to create menus, splash screens, wait screens, and animations using drag-and-drop components from its palette menu.
What are SVG and JSR-266?
Java Specification Request (JSR)-226 specifies the API for rendering scalable, two-dimensional vector graphics. Instead of encoding the contents of each pixel, as raster-based image formats like GIF and JPG do, vector graphics contain only the drawing instructions for each pixel. This gives vector images several advantages:
They are scalable, so the image quality remains the same on displays of different sizes and resolutions. You can also stretch, flip, or reverse an image without losing quality.
They support scripting and animations, so they are ideal for interactive, data-driven graphics.
They are compact. Vector-based images can be as much as ten times smaller than an identical image in GIF or JPEG format. This important advantage makes it possible to create graphically rich applications for handheld devices with limited resources.
They allow users to interact with image content.
They are searchable, allowing users to search for text within the image. For example, users can search a map for specific street names, or search a list of restaurant menus for their favorite dish.
The Scalable Vector Graphics (SVG) specification is the World Wide Web Consortium (W3C) specification for describing two-dimensional graphics and graphical applications in XML. The SVG specification describes images with vector shapes, text, and embedded raster graphics. A full-featured subset, or profile, of SVG aimed toward mobile devices is called "SVG-Tiny." JSR-226 adopts version 1.1 of the SVG-Tiny profile as the official file format for J2ME vector graphics.
You can find more about JSR-226 by reading the article, Getting Started with Mobile 2D Graphics for J2ME.

Design Portfolio

vector resources





design and illustration


Digital Art Blogs

vector art movement



Vector Art Team

Digital Art Blog Directories