Opened 12 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)

gt-arcsde-2.7.4.jar (276.6 KB ) - added by anonymous 12 years ago.
yyy

Download all attachments as: .zip

Change History (8)

by anonymous, 12 years ago

Attachment: gt-arcsde-2.7.4.jar added

yyy

comment:1 by Dimitar Misev, 12 years ago

petascope should be LGPL if I'm not wrong?

comment:2 by mrusu, 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 Dimitar Misev, 12 years ago

Cc: Peter Baumann added
Owner: changed from Dimitar Misev to Ernesto Rodriguez
Status: newassigned

comment:4 by Peter Baumann, 12 years ago

petascope is GPL actually; generally: server-side GPL, client libraries (rasj, raslib) LGPL.

comment:5 by Dimitar Misev, 12 years ago

Hm why is then the code from KWARC that I've used in petascope (also GPL) a problem?

comment:6 by Dimitar Misev, 12 years ago

Also notice #141 which says it's LGPL?

comment:7 by Ernesto Rodriguez, 12 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.