473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

js viewer w/zoom and pan

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

Sep 6 '06 #1
5 5028
mo*******@yahoo.com 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

Sep 6 '06 #2

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

Sep 6 '06 #3

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

Sep 6 '06 #4

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

Sep 6 '06 #5
mo*******@yahoo.com 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
Sep 7 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: niNjaTaz | last post by:
I am trying to learn JS by studying existing codes. I have figured out (for the most part) how to use buttons to cycle through the images. The problem I'm having is (most importantly) I don't want...
1
by: Alex Stevens | last post by:
Hi All, I have implemented my own toolbar on a form which houses the crystal reprot viewer. I would like to have a combobox to allow the user to change the zoom level to say 25 / 50 / 75 / 100...
4
by: Shumit Rehman | last post by:
Hi I have a table which has path names to photos I would like to view. I would like to open some/any kind of image viewer(Paint) to see the picture when I click the pathname. The pictures are...
3
by: DavidB | last post by:
I have a Snapshot Control in a continuous form and I want the source for the control to be different for each instance of the continuous data (based on one of the fields in the recrod source for...
4
by: Troy | last post by:
Hi all, Im a little new to ASP.NET. I'm looking to create an image viewer that zooms in, pretty common. But I need to draw a box on the 1:1 scale image and 'zoom in' on another picture box. ...
3
by: Aaron Smith | last post by:
Is there a way with the CR For .Net Viewer control to get the field and the value if a user clicks on a field in a report? I know if previous versions you could do this... If you can't do it with...
6
by: Joel Hedlund | last post by:
Hi! I've been thinking about writing a good multiple sequence alignment (MSA) viewer in python. Sort of like ClustalX, only with better zoom and pan tools. I've been using python in my work for...
4
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I need to do a image viewer, just to view and zoom pictures in jpeg. I do not need to edit or save the picture. I am sure, there are some controls already made. I am thankful for any...
0
by: marcellus7 | last post by:
Im looking for an image viewer that supports most types of image formats, including PDFs, and has the ability to rotate/zoom, and draw on an image. I've been looking but to no avail. Does anyone have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.