Zoom, pan and rotate image


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Zoom, pan and rotate image

  1. #1
    Join Date
    Nov 2005
    Posts
    24

    Zoom, pan and rotate image

    hi,

    im having problems with creating an application to zoom, pan and rotate an image.

    i have looked at various code but all tooo comprehensive as i am a begginer...

    what is the best way to start? i can output an image so far!

    i also have had a look at the code in the attached zip, kindly given by user sjalle to help me, but i cant seem to open an image with it! it keeps saying image not found! am i putting the path in sumwhere wrong?

    i have been trying to get with this for a while! its depressing nuthin is working!

    any1 help pleease?
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2005
    Posts
    107
    This is essentially the first line of the applet's init method...

    imgURLStr=getParameter("image-url","none");

    so you would need to setup the applet like

    <APPLET CODE=SjalleZoom.class
    WIDTH=500 HEIGHT=400>
    <param name=image-url value=imageurl>
    </APPLET>

  3. #3
    Join Date
    Nov 2005
    Posts
    24

    Zoom rotate pan prob

    setup the applet?

    is there a way of just using it within an application? and hardcode the image location? i.e c:\image.jpg?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center