@@ -141,13 +142,26 @@ public class ImagejJp4Tiff {
...
@@ -141,13 +142,26 @@ public class ImagejJp4Tiff {
publicImagePlusreadTiffJp4(Stringpath_url,booleanscale,Stringstd)throwsIOException,FormatException{// std - include non-elphel properties with prefix std
publicImagePlusreadTiffJp4(Stringpath_url,booleanscale,Stringstd)throwsIOException,FormatException{// std - include non-elphel properties with prefix std
// determine if it is a file or URL and read url to memory
// determine if it is a file or URL and read url to memory
// If URL, then read to memory, if normal file - use direct access
// If URL, then read to memory, if normal file - use direct access
if(path_url==null){
LOGGER.warn("readTiffJp4(): null path_url");
returnnull;
}
url=null;
url=null;
// String mime = null; // use to select jp4/tiff later? Or to check it is correct
// String mime = null; // use to select jp4/tiff later? Or to check it is correct