“Raster to other format” tool fails to convert ecw rasters of 4 bands to jpg,
I’m not sure if there is a tool that can convert ecw rasters of 4 bands to jpg.
Thank you
Jamal
Jamal,
Check Supported raster dataset file formats—Help | ArcGIS for Desktop - JPG only supports 1 or 3 bands. You could try JPEG 2000 or TIFF
If the issue persists, try to convert the ECW to a TIFF then convert the TIFF to a JPEG 2000. If I remember correctly, depending upon the ECW version, not all color maps are supported in direct ECW to JPEG 2000 conversion.
Also, make sure you are using 8-bit unsigned integer as your data type.
Thank you Lance Cole for the input.
Unfortunately, jpg2000 of 4 bands can’t be converted to jpg
Correct, JPG only supports 1 or 3 bands as noted in my original post. It does not support 4 bands. If you need to support 4 bands, you will need to work with TIFF or JPEG 2000 or convert using only 3 bands to use JPG.
Thanks Lance.
Then how to convert the ecw of 4 bands to jpg (that only supports 3 bands)?
By the way, does converting a raster of 4 bands to 3 bands affect the visual context? Is visually a raster of 4 bands clearer than the one of 3 bands?
Because if you read the help topic you will see it is a fumction not a tool
Extract Band function—ArcGIS Pro | Documentation
More information
Raster functions—ArcGIS Pro | Documentation
and it will make a folder so it is best if your project is in a folder
I couldn’t figure out where the output of the “extract band” raster function is saved
You missed this in the help... first line
Raster functions are operations that apply processing directly to the pixels of imagery and raster datasets, as opposed to geoprocessing tools, which write out a new raster to disk.
There is no clue where the result is saved.
The “Extract Bands_MOLG_2018_ITM_36_14.ecw” doesn’t appear in the folder that contains “MOLG_2018_ITM_36_14.ecw”.
The original “MOLG_2018_ITM_36_14.ecw” still has 4 bands
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.