Page 120 - DCAP512_WAP_AND_WML
P. 120

WAP & WML




                    Notes             In order for an image to be displayed in a WAP application, it must be in the specially
                                       optimized  Wireless Bitmap (WBMP) format.  WBMP files are 1-bit  graphics capable  of
                                       displaying only black and white pixels.
                                      It is recommended that you keep any graphic image as small as possible.
                                      No graphic should exceed 150 pixels square.

                                      WAP - Wireless bitmap (level 0) image format.
                                      The  Wireless Application  Protocol Bitmap  Format (WBMP)  is  designed  for use with
                                       applications that operate over wireless communication networks.

                                      The WBMP format is  commonly used  in mobile  phones (WAP  phones) and  enables
                                       graphical information to be sent to the handset.

                                   8.5 Keywords

                                   <img> tag : The <img> tag is used to add an image to a WML card.

                                   WBMP: Wireless Application Protocol Bitmap Format
                                   8.6 Review Questions


                                   1.  The <img> tag is used to add an image to a WML card. Explain with a suitable example.
                                   2.  The height and width attributes of the <img> tag, as their names suggested, are used to
                                       specify the height and width of an image’s display area. Discuss.
                                   3.  Some mobile devices have stored in their memory a library of small images that can be
                                       placed in the WML document using the localsrc attribute in the image tag. Comment.

                                   4.  It is a good idea also to provide a pointer to an external graphic in case local images are not
                                       supported. Comment.
                                   5.  The executable file of the program can be started with various parameters defining the
                                       conversion result. Do you agree with this statement? Why or why not?
                                   6.  You can select a number of options that will affect the work of this feature-packed batch
                                       image converter. Explain.

                                   7.  Batch conversion of WAP images and the use of the command line in Ivan Image Converter.
                                       Discuss.
                                   8.  Your WAP file will be saved in the selected format under the name you provided in the
                                       image conversion dialog. Analyze.
                                   9.  Besides being a powerful image converter, which software has plenty of image editing
                                       functions? Explain.
                                   10.  Explain how you can open a WAP file?

                                   Answers: Self  Assessment

                                   1.  <img>                             2.   image
                                   3.  src                               4.   GIF, JPG

                                   5.  Attributes                        6.   150
                                   7.  1-bit                             8.   UnWired



          114                               LOVELY PROFESSIONAL UNIVERSITY
   115   116   117   118   119   120   121   122   123   124   125