Opened 5 years ago

Closed 5 years ago

#154 closed task (fixed)

Proprietary Sun API (JPEGCodec) used inside petascope.wms

Reported by: pcampalani Owned by: erodriguez
Priority: minor Milestone: 8.4
Component: petascope Version: 8.3
Keywords: proprietary jpeg API Cc: pbaumann
Complexity:

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 5 years ago.
yyy

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by anonymous

yyy

comment:1 Changed 5 years ago by dmisev

petascope should be LGPL if I'm not wrong?

comment:2 Changed 5 years ago by mrusu

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 Changed 5 years ago by dmisev

  • Cc pbaumann added
  • Owner changed from dmisev to erodriguez
  • Status changed from new to assigned

comment:4 Changed 5 years ago by pbaumann

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

comment:5 Changed 5 years ago by dmisev

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

comment:6 Changed 5 years ago by dmisev

Also notice #141 which says it's LGPL?

comment:7 Changed 5 years ago by erodriguez

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.