Opened 13 years ago
Closed 12 years ago
#154 closed task (fixed)
Proprietary Sun API (JPEGCodec) used inside petascope.wms
Reported by: | Piero Campalani | Owned by: | Ernesto Rodriguez |
---|---|---|---|
Priority: | minor | Milestone: | 8.4 |
Component: | petascope | Version: | 8.3 |
Keywords: | proprietary jpeg API | Cc: | Peter Baumann |
Complexity: | Medium |
Description
As visible when building Petascope, there are a bunch of warnings related to the use of the proprietary com.sun.image.codec.jpeg.JPEGCodec library. E.g.
WmsServlet.java:568: warning: com.sun.image.codec.jpeg.JPEGCodec is internal proprietary API and may be removed in a future release JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sOut);
It needs to be replaced with some non-proprietary solution to be GPL-compatible (e.g. javax, FOSS).
Attachments (1)
Change History (8)
by , 13 years ago
Attachment: | gt-arcsde-2.7.4.jar added |
---|
comment:2 by , 12 years ago
The package com.sun.image.codec.jpeg was completely retired in Java SE 7 and therefore the compilation error "package com.sun.image.codec.jpeg does not exist" appears for several files in petascope. As alternative oracle suggests the Java Image I/O API.
comment:3 by , 12 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 12 years ago
petascope is GPL actually; generally: server-side GPL, client libraries (rasj, raslib) LGPL.
comment:5 by , 12 years ago
Hm why is then the code from KWARC that I've used in petascope (also GPL) a problem?
comment:7 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
yyy