Re: [JPP-Devel] commons image upgrade fails to build

2022-08-29 Thread Gary Lucas
Michaël,

The Apache folks made some changes to the Commons Imaging API in
general for their Alpha 3 release.  I think it will be stable going
forward.  So you won't have to deal with this issue next time (one can
only hope).

The raster data access methods are mostly code I contributed.  So, if
you have any questions about them, let me know.  Or, if they're of a
general nature, post them on Stackoverflow and I will answer them
their so they can be available to the user community in general.

Thanks,

Gary

On Sun, Aug 28, 2022 at 12:57 PM Michaud Michael
 wrote:
>
> Ede,
>
> Sorry, this is the upgrade to commons-imaging alpha3 I just pushed without 
> testing :-(
>
> https://github.com/apache/commons-imaging/commit/263dddeb92204f840a4136c351b5f2631d646a17
>
> Seems that getFloatingPointRasterData can now be replaced by getRasterData
>
> Do you want me to try to fix it or are you already doing it.
>
> Michaël
>
> envoyé : 28 août 2022 à 18:24
> de : edgar.sol...@web.de
> à : OpenJump develop and use 
> objet : [JPP-Devel] commons image upgrade fails to build
>
>
> see below, i will have a look ..ede
>
> [INFO] -
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /home/oj/oj-git/src/com/vividsolutions/jump/workbench/imagery/graphic/CommonsTIFFImage.java:[64,44]
>  cannot find symbol
> symbol: method 
> getFloatingPointRasterData(java.util.HashMap)
> location: variable directory of type 
> org.apache.commons.imaging.formats.tiff.TiffDirectory
> [ERROR] 
> /home/oj/oj-git/src/com/vividsolutions/jump/workbench/imagery/graphic/CommonsTIFFImage.java:[98,31]
>  cannot find symbol
> symbol: variable PARAM_KEY_CUSTOM_PHOTOMETRIC_INTERPRETER
> location: class 
> org.apache.commons.imaging.formats.tiff.constants.TiffConstants
> [ERROR] 
> /home/oj/oj-git/src/com/vividsolutions/jump/workbench/imagery/graphic/CommonsTIFFImage.java:[99,39]
>  no suitable method found for 
> getTiffImage(java.util.HashMap)
> method 
> org.apache.commons.imaging.formats.tiff.TiffDirectory.getTiffImage(org.apache.commons.imaging.formats.tiff.TiffImagingParameters)
>  is not applicable
> (argument mismatch; java.util.HashMap 
> cannot be converted to 
> org.apache.commons.imaging.formats.tiff.TiffImagingParameters)
> method 
> org.apache.commons.imaging.formats.tiff.TiffDirectory.getTiffImage(java.nio.ByteOrder)
>  is not applicable
> (argument mismatch; java.util.HashMap 
> cannot be converted to java.nio.ByteOrder)
> [ERROR] 
> /home/oj/oj-git/src/com/vividsolutions/jump/workbench/imagery/graphic/CommonsImageFactory.java:[66,25]
>  cannot find symbol
> symbol: method getExtension()
> location: variable fmt of type org.apache.commons.imaging.ImageFormat
>
>
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] commons image upgrade fails to build

2022-08-29 Thread edgar . soldin

hey Gary,

answers inline

On 29.08.2022 12:51, Gary Lucas wrote:

Michaël,

The Apache folks made some changes to the Commons Imaging API in
general for their Alpha 3 release.  I think it will be stable going
forward.  So you won't have to deal with this issue next time (one can
only hope).


no biggie. it's alpha for a reason ;)


The raster data access methods are mostly code I contributed.  So, if
you have any questions about them, let me know.  Or, if they're of a
general nature, post them on Stackoverflow and I will answer them
their so they can be available to the user community in general.


took a bit but i found out and adopted the example we got in place, still not 
actually using it for the actual raster framework unfortunately.

thanks for the offer!.. ede


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel