How to save tiff with histogram and color ramp applied to it?

6123
10
Jump to solution
07-27-2016 03:13 PM
GagagDa_Morvi
New Contributor

I have added a tiff raster layer to ArcMap. It is a gray scale tiff image. I have applied a color ramp and also modified its histogram to make it more appealing and clear. Now the question is: how can I export this tiff (as tiff) and save it back to disc with these changes applied to it? Thank you for the help in advance.

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

Not according to the first link...

There are two main ways to export or convert raster data to another format. You can export raster data from within ArcMap by using the Export Raster Data dialog box or using a geoprocessing tool. The dialog box allows you to export a raster dataset or a portion of a raster dataset. Unlike other raster import or export tools, the Export Raster Data dialog box gives you additional capabilities such as clipping via the current data frame area, clipping via a selected graphic, choosing the spatial reference of the data frame, using the current renderer, choosing the output cell size, or specifying the NoData value. In addition, you will be able to choose the output format for the raster dataset: BMP, ENVI, Esri BIL, Esri BIP, Esri BSQ, GIF, GRID, IMG, JPEG, JPEG 2000, PNG, TIFF, or exporting to a geodatabase.

​And from there you could use the Copy Raster tool, or one of the options in the 2nd link.

PS, you do this with the layer selected

View solution in original post

10 Replies
GagagDa_Morvi
New Contributor

Thanks for pointing this out. I followed the instructions - however when I export the data frame (or the entire raster dataset) there is no way I can choose the output format. It only allows me to export to a file geodatabase. I am sure there must be a way to do that but I can't find it.

0 Kudos
DanPatterson_Retired
MVP Emeritus

Not according to the first link...

There are two main ways to export or convert raster data to another format. You can export raster data from within ArcMap by using the Export Raster Data dialog box or using a geoprocessing tool. The dialog box allows you to export a raster dataset or a portion of a raster dataset. Unlike other raster import or export tools, the Export Raster Data dialog box gives you additional capabilities such as clipping via the current data frame area, clipping via a selected graphic, choosing the spatial reference of the data frame, using the current renderer, choosing the output cell size, or specifying the NoData value. In addition, you will be able to choose the output format for the raster dataset: BMP, ENVI, Esri BIL, Esri BIP, Esri BSQ, GIF, GRID, IMG, JPEG, JPEG 2000, PNG, TIFF, or exporting to a geodatabase.

​And from there you could use the Copy Raster tool, or one of the options in the 2nd link.

PS, you do this with the layer selected

GagagDa_Morvi
New Contributor

Thanks for the help. I exported to a file geodatabase using Data->Export as there was no way to specify output format because the output format was grayed out. Then I used the Copy Raster to convert filegeodatabased raster to TIFF.

0 Kudos
XanderBakker
Esri Esteemed Contributor

You could do this in one step. As Neil Ayres  pointed out in his answer, if the output location is a file geodatabase, the format options are grayed out. However, if you select a folder as output location, you should be able to specify the output format.

0 Kudos
XanderBakker
Esri Esteemed Contributor

If the objective is to be able to load the TIFF with your settings (histogram and color ramp) to a different project at a later time, you could save the layer as a layer file (.lyr). This doesn't contain the data, but a reference to it including the applied settings.

To make a physical result use the steps outline in the links provided by Dan, especially step 4 is important:

Optionally, check the Use Renderer check box if you want to export the raster dataset with the current renderer options. Additionally, check the Force RGB check box if you want to export the output raster as a three-band RGB raster dataset with the current renderer

If this exported raster dataset is brought back into ArcGIS, the stretched type should be set to None, since it is already stretched.

GagagDa_Morvi
New Contributor

Thanks Xander, this information is very useful (specially setting the RGB checkbox).

0 Kudos
NeilAyres
MVP Alum

The export raster dataset dialog from the layer in ArcMap :

All of the options are there. tick use renderer and the Force RGB tick box will light up.

Set the location, if this is an fgdb rather than a folder, then the output will be, obviously a fgdb raster.

If you want tiff or whatever set the location to a folder, then select the format.

GagagDa_Morvi
New Contributor

When I get this dialogbox, the format drop down list is grayed out. I can only save as a File geodatabase.

0 Kudos