Global Mapper v25.0

how to change transparency options on a bunch of ecw files

kwyates
kwyates Global Mapper UserTrusted User
edited January 2013 in Raster Data
I have a bunch of images in ECW format that I have reset the transparency definition. I would like to export each one as a new ECW file. I can not find the function that allows a 1-for-1 export. I can tile, or manually set to each overlay, but those two options are not ideal.

Comments

  • global_mapper
    global_mapper Administrator
    edited February 2012
    You can use File->Batch Convert/Reproject to do a one-for-one conversion of files.

    Thanks,

    Mike
  • kwyates
    kwyates Global Mapper User Trusted User
    edited January 2013
    Thanks for the response last year... it works very well.
    I have a new and related question:
    How might I include the "Fuzzy" definition of the transparent color in a Batch operation like the setting available in the Raster Options dialog?
  • global_mapper
    global_mapper Administrator
    edited January 2013
    There isn't currently a way to control the transparent color "fuzziness" during batch conversion, but you can do the export using a script where you provide the transparent color and fuzziness distance using the IMPORT command http://www.bluemarblegeo.com/knowledgebase/global-mapper/ScriptReference.html#cmd_import for TRANSPARENT_COLOR and TRANSPARENT_COLOR_DIST. You could loop over the files to convert using the DIR_LOOP_START and DIR_LOOP_END commands.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/