Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Themes & Animated Graphics

Error : Resource is bigger than 60 KB

by Retired ‎02-18-2010 09:28 AM - edited ‎02-19-2010 09:41 AM (4,323 Views)

Summary

This article applies to the following:

  • Plazmic® Content Developer's Kit 4.1 and later for BlackBerry
  • BlackBerry® device




Problem

When Theme Builder exports images that are used in a theme, it converts them into Portable Network Graphics (PNG) files. This means that the original image file (for example, a JPEG file) could be less than the 60 KB size limit; however, when Theme Builder converts the image to a PNG file, the file size could exceed 60 KB.

Resolution

Convert the image to a PNG file prior to importing it to Theme Builder. This enables you to control the size and quality of the image because Theme Builder does not need to convert the image; however, an image saved as a PNG file may still have a size greater than 60 KB.

To decrease the image file size, complete the following tasks:

Task 1

Verify that you are scaling the image to match the resolution or the original image of the theme that you are modifying.

Task 2

Verify that your graphics tool has options to adjust either the color depth or color palette. Often, you can reduce the number of colors used without a noticeable degradation in picture quality.

Task 3

 

Do not use interlacing as it saves multiple copies of the image at different resolutions. If you are browsing a web page, you can see the low resolution image while you wait for the entire image to load.

Task 4

A PNG file supports metadata (for example, gamma, white balance, ICC color profile) and most of this is unnecessary information for Theme Builder. Check the export options of your graphics tool to make sure that it does not include this information.

 

Task 5

Use the Plazmic Composer to convert an image to a PNG file and possibly reduce its size.

  • Open Plazmic Composer (a component of the Plazmic Content Developer’s Kit) and create a document that matches your target image resolution.
  • Import your image to the document.
  • Select File > Export > PNG.

    The Export to PNG screen appears, which allows you to modify many of the values discussed above and save the image to a PNG file. You may need to adjust settings to determine the combination that will result in the smallest file with the least reduction in image quality.


Contributors
Users Online
Currently online: 22 members 556 guests
Please welcome our newest community members: