Results 1 to 3 of 3
- 04-08-2008, 04:34 PM #1
Member
- Join Date
- Apr 2008
- Posts
- 2
- Rep Power
- 0
Dispaly of CGM Images and automatic Hotspotting
Hello,
We have requirement to disply images with .cgm extension in JSP based application. Based on my research, found that CGM images cannot be viewed directly on a browser unless we have some software or plug-ins.
Any thoughts on how to enable viewing of CGM images in a browser and automatic hotspotting be achieved with CGM images.
Can any one help me in this regard,its urgent...
Thanks in advance
- 04-08-2008, 05:10 PM #2
Member
- Join Date
- Feb 2008
- Posts
- 60
- Rep Power
- 0
Take a look at this link
CGM Viewer - How to
- 04-08-2008, 08:59 PM #3
Member
- Join Date
- Apr 2008
- Posts
- 2
- Rep Power
- 0
I have already gone with CMGVA,but my reuirement is display the image on Web browser and automatic hotspotting.
I did not find hotspotting anywhere in cgmva.
with cgmva I can able to see only CGM image but not able to do Zoom in /Zoom out of the image and fallowing are my runtime errors(exceptions).
Java Plug-in 1.6.0_05
Using JRE version 1.6.0_05 Java HotSpot(TM) Client VM
User home directory = C:\Users\krishna
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWr itableRaster(Unknown Source)
at sun.awt.Win32GraphicsConfig.createAcceleratedImage (Unknown Source)
at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
at java.awt.Component.createImage(Unknown Source)
at CgmViewApplet.a(Unknown Source)
at o.componentResized(Unknown Source)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Unknown attribute: 42
Unknown attribute: 19
Unknown attribute: 20
Unknown attribute: 37
Unknown attribute: 38
Exception in thread "AWT-EventQueue-3" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWr itableRaster(Unknown Source)
at sun.awt.Win32GraphicsConfig.createAcceleratedImage (Unknown Source)
at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
at java.awt.Component.createImage(Unknown Source)
at CgmViewApplet.a(Unknown Source)
at o.componentResized(Unknown Source)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Unknown attribute: 44
Unknown attribute: 45
Plaese help me to figure out....
Similar Threads
-
Comparing Images
By shaungoater in forum Advanced JavaReplies: 0Last Post: 03-17-2008, 10:38 AM -
Images not displaying in JSP in IE7
By chadscc in forum Advanced JavaReplies: 0Last Post: 11-13-2007, 03:24 PM -
Help using images in Java
By toby in forum Advanced JavaReplies: 1Last Post: 08-07-2007, 05:54 AM -
Help with images...
By toby in forum Java AppletsReplies: 1Last Post: 08-04-2007, 05:25 AM -
Images in JSP
By Daniel in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 06-05-2007, 06:01 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks