>This is simply not true. GIMP has been able to open jp2 files for >quite some time. > >It simply means that you're missing jp2 filetype from your GIMP build. > >On Mon, Jan 27, 2020 at 10:26 AM Adrian Midgley via gimp-user-list < >gimp-user-list@gnome.org> wrote:
I can open jp2 files... my problem is it loads the wrong layer and I get the greyscale image and not the color image... GIMP Image Properties: Number of layers: 1 Number of channels: 0 qgis raster information Processing algorithm… Algorithm 'Raster information' starting… Input parameters: { 'INPUT' : '/data/strider/USGS/m_3807862_nw_17_1_20160620_20160928.jp2', 'MIN_MAX' : False, 'NOGCP' : False, 'NO_METADATA' : False, 'OUTPUT' : '/tmp/processing_9a89c052ba9141adb2ce4ccb1d801440/691bfc0de6f54f44b98f1b1284445003/OUTPUT.html', 'STATS' : True } GDAL command: gdalinfo -stats /data/strider/USGS/m_3807862_nw_17_1_20160620_20160928.jp2 GDAL command output: Warning 1: Empty SOT marker detected: Psot=12. Driver: JP2OpenJPEG/JPEG-2000 driver based on OpenJPEG library Files: /data/strider/USGS/m_3807862_nw_17_1_20160620_20160928.jp2 Size is 6964, 8847 Coordinate System is: PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere", GEOGCS["GCS_WGS_1984", DATUM["D_WGS_1984", SPHEROID["WGS_1984",6378137.0,298.257223563]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]], PROJECTION["Mercator_Auxiliary_Sphere"], PARAMETER["False_Easting",0.0], PARAMETER["False_Northing",0.0], PARAMETER["Central_Meridian",0.0], PARAMETER["Standard_Parallel_1",0.0], PARAMETER["Auxiliary_Sphere_Type",0.0], UNIT["Meter",1.0], EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"]] Origin = (-8724668.827568912878633,4597102.853592671453953) Pixel Size = (1.000000000000000,-1.000000000000000) Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left (-8724668.828, 4597102.854) ( 78d22'30.12"W, 38d 7'30.09"N) Lower Left (-8724668.828, 4588255.854) ( 78d22'30.12"W, 38d 3'44.93"N) Upper Right (-8717704.828, 4597102.854) ( 78d18'44.91"W, 38d 7'30.09"N) Lower Right (-8717704.828, 4588255.854) ( 78d18'44.91"W, 38d 3'44.93"N) Center (-8721186.828, 4592679.354) ( 78d20'37.52"W, 38d 5'37.53"N) Band 1 Block=4096x4096 Type=Byte, ColorInterp=Undefined Minimum=20.000, Maximum=255.000, Mean=101.694, StdDev=40.596 Overviews: 3482x4423, 1741x2211, 870x1105, 435x552, 217x276, 108x138, 54x69 Overviews: arbitrary Metadata: STATISTICS_MAXIMUM=255 STATISTICS_MEAN=101.69407488086 STATISTICS_MINIMUM=20 STATISTICS_STDDEV=40.59638080412 STATISTICS_VALID_PERCENT=100 Image Structure Metadata: COMPRESSION=JPEG2000 Band 2 Block=4096x4096 Type=Byte, ColorInterp=Undefined Minimum=35.000, Maximum=255.000, Mean=125.952, StdDev=39.031 Overviews: 3482x4423, 1741x2211, 870x1105, 435x552, 217x276, 108x138, 54x69 Overviews: arbitrary Metadata: STATISTICS_MAXIMUM=255 STATISTICS_MEAN=125.95178002752 STATISTICS_MINIMUM=35 STATISTICS_STDDEV=39.030505404576 STATISTICS_VALID_PERCENT=100 Image Structure Metadata: COMPRESSION=JPEG2000 Band 3 Block=4096x4096 Type=Byte, ColorInterp=Undefined Minimum=36.000, Maximum=255.000, Mean=106.175, StdDev=27.473 Overviews: 3482x4423, 1741x2211, 870x1105, 435x552, 217x276, 108x138, 54x69 Overviews: arbitrary Metadata: STATISTICS_MAXIMUM=255 STATISTICS_MEAN=106.17547686833 STATISTICS_MINIMUM=36 STATISTICS_STDDEV=27.473481480161 STATISTICS_VALID_PERCENT=100 Image Structure Metadata: COMPRESSION=JPEG2000 Band 4 Block=4096x4096 Type=Byte, ColorInterp=Undefined Minimum=0.000, Maximum=255.000, Mean=194.452, StdDev=58.036 Overviews: 3482x4423, 1741x2211, 870x1105, 435x552, 217x276, 108x138, 54x69 Overviews: arbitrary Metadata: STATISTICS_MAXIMUM=255 STATISTICS_MEAN=194.45181971231 STATISTICS_MINIMUM=0 STATISTICS_STDDEV=58.035617609829 STATISTICS_VALID_PERCENT=100 -- mlorenzo2408 (via www.gimpusers.com/forums) _______________________________________________ gimp-user-list mailing list List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list