<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Xavier Gorroņo &lt;<a href="mailto:xavi.gorronyo@gmail.com">xavi.gorronyo@gmail.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">February 29, 2012 6:25:07 AM EST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">OpenJPEG &lt;<a href="mailto:openjpeg@googlegroups.com">openjpeg@googlegroups.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>[OpenJPEG] python issues with j2k_to_image and image_to_j2k (version 1.5)</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Reply-To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:openjpeg@googlegroups.com">openjpeg@googlegroups.com</a><br></span></div><br><div>I have been working in an application for a future satellite which<br>needs to load JPEG2000 images.<br><br>The libraries in python are not optimised in order to deal with this<br>image format and, therefore, I need to convert from JPEG2000 to TIFF<br>and vice versa. I chose kakadu and everything works fine. However, I<br>decided to try with OPENJPEG 1.5 since it is open-source and it seems<br>to be the future reference. I have two main problems that I want to<br>share:<br><br>1. The information is shown in the command prompt every time I run the<br>program. I redirect the output to a "garbage" txt as a solution.<br>However, it works for "j2k_to_image" but not for "image_to_j2k". I<br>think it would be nice an option to avoid these information like in<br>kakadu (-quiet).<br><br>2. I lose the georeference of the pixels. When I convert to TIFF I<br>lose it and I found no option in the functions. GDAL can read the<br>geoinformation of JPEG2000 but it cannot be directly updated to a<br>JPEG2000 file. Therefore, that is for me a limitation. Probably, there<br>are some other options... but anyway, it would be nice if the<br>application recognises that information automatically like with<br>kakadu.<br><br>Thanks in advance<br><br>-- <br>You are subscribed to the mailing-list of the OpenJPEG project (<a href="http://www.openjpeg.org">www.openjpeg.org</a>)<br>To post: email to <a href="mailto:openjpeg@googlegroups.com">openjpeg@googlegroups.com</a><br>To unsubscribe: email to <a href="mailto:openjpeg+unsubscribe@googlegroups.com">openjpeg+unsubscribe@googlegroups.com</a><br>For more options: visit <a href="http://groups.google.com/group/openjpeg">http://groups.google.com/group/openjpeg</a><br>For more info about OpenJPEG main partners : visit &nbsp;<a href="http://www.tele.ucl.ac.be">www.tele.ucl.ac.be</a> (UCL) and <a href="http://www.intopix.com">www.intopix.com</a><br></div></blockquote></div><br></body></html>