Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > js viewer w/zoom and pan

Reply
Thread Tools

js viewer w/zoom and pan

 
 
mollic503@yahoo.com
Guest
Posts: n/a
 
      09-06-2006
hi,
Hoping somebody can point me in the right direction. There are
actually two related problems I'm having. I would like to have a
slick, efficient, lightweight image viewer for single images stored on
a hard drive. Zooming and panning would be great.

The second part of that is more complex...

I'd like to have the ability to handle geojpeg2000 images also, and
display coordinates as you move your mouse.

so...my questions to the group are...

1) does anybody know of a lightweight viewer?
2) has anyone worked with a js solution to handling geojpeg2000 files?

Thanks!!!

m

 
Reply With Quote
 
 
 
 
Bart Van der Donck
Guest
Posts: n/a
 
      09-06-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

> Hoping somebody can point me in the right direction. There are
> actually two related problems I'm having. I would like to have a
> slick, efficient, lightweight image viewer for single images stored on
> a hard drive. Zooming and panning would be great.


I've had good experiences in the past with

http://krolik.net/PIV.jsp

> The second part of that is more complex...
> I'd like to have the ability to handle geojpeg2000 images also, and
> display coordinates as you move your mouse.


As far as I remember, PIV should work with all kind of images that a
browser knows. Displaying the mouse coordinates should be quite easy,
there's tons of info how to do that.

--
Bart

 
Reply With Quote
 
 
 
 
mollic503@yahoo.com
Guest
Posts: n/a
 
      09-06-2006

Bart Van der Donck wrote:
Displaying the mouse coordinates should be quite easy,
> there's tons of info how to do that.
>


I'm looking at your link now...Thanks!

Right...displaying the mouse coordinates isn't tough. But...how do you
translate the mouse coords into geographic coords (lat/long or UTM for
example), based on the information in the geojpeg2000 header? How do
you even access the info in the header using js?

Thanks
m

 
Reply With Quote
 
mollic503@yahoo.com
Guest
Posts: n/a
 
      09-06-2006

Bart Van der Donck wrote:
Displaying the mouse coordinates should be quite easy,
> there's tons of info how to do that.
>


I'm looking at your link now...Thanks!

Right...displaying the mouse coordinates isn't tough. But...how do you
translate the mouse coords into geographic coords (lat/long or UTM for
example), based on the information in the geojpeg2000 header? How do
you even access the info in the header using js?

Thanks
m

 
Reply With Quote
 
mollic503@yahoo.com
Guest
Posts: n/a
 
      09-06-2006

Bart Van der Donck wrote:
Displaying the mouse coordinates should be quite easy,
> there's tons of info how to do that.
>


I'm looking at your link now...Thanks!

Right...displaying the mouse coordinates isn't tough. But...how do you
translate the mouse coords into geographic coords (lat/long or UTM for
example), based on the information in the geojpeg2000 header? How do
you even access the info in the header using js?

Thanks
m

 
Reply With Quote
 
Jeremy
Guest
Posts: n/a
 
      09-07-2006
(E-Mail Removed) wrote:
> How do you even access the info in the header using js?


Short answer: You don't.

Long answer: If this is on the web, you could make an asynchronous call
to a server script which returns the header information. If not, you
could (depending on the platform) use an OS-provided javascript hook to
peek at the file.


Jeremy
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is an AVI Chunk Viewer? - AVI Chunk Viewer.jpg (0/1) mazdra76@yahooo.com Computer Support 1 03-17-2006 02:52 AM
Inzomia image viewer 3.06 - Free image viewer Fredrik Digital Photography 0 03-09-2006 09:08 PM
making WINDOWS PICTURE AND FAX VIEWER default viewer? aaronep@pacbell.net Digital Photography 1 09-16-2005 09:20 AM
text viewer for blackberry or java sources of text viewer jacksgoogle Java 0 05-11-2005 08:29 AM
Gallery Viewer viewer script Flynn Javascript 8 02-23-2004 05:39 PM



Advertisments