CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Location
    Shanghai
    Posts
    24

    [Palm OS] JPG file display

    On Palm, I want to display any rectangle area of a .jpg file, not only the total area . What should I do to realize it? I use CodeWarrior8 as IDE.
    Thanks.

  2. #2
    Join Date
    Oct 2002
    Location
    Ukraine
    Posts
    7
    If you want to write some server-side script, you can try PHP. Function to use:

    int imagecopy ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h)

    Copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordinates, dst_x and dst_y.

    __________________
    Sincerely,
    Serg Dzysyak
    AlarIT programmer
    http://www.AlarIT.com

  3. #3
    Join Date
    Jul 2002
    Location
    Shanghai
    Posts
    24

    Palm OS Platform?

    Palm OS Platform?

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured