×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    23

    Question panoramic images

    Hi,

    Does anyone know if it is possible to view a panoramic image using just MIDP1.0 APIs. What I mean is I have a 360 degree picture (Not a video) and I want to be able to download this from the server and using the phone scroll continously horizontally along the picture.

    Is it possible, has anyone done it.

    Thanks Jim

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395
    Simplest way is just to have the complete image (even if it is larger than the screen) and paint it at an x of 0, -1, -2, -3, and so on.

    Some devices may have problems with images larger than 256 in any direction, or in some cases, larger than the screen. For maximum compatibility, keep the image to the screen size. This may mean that you need to break the original image into several smaller ones. Then at any moment, you may be painting two images. For example, one painted at -6, the other at (screen_width - 6).

    Graham.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×