DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Hybrid View

  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

  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?

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links