Convert MrSID to an image (PNG, JPG, TIFF, …)


Conversion result, using data of my hometown Deinze, Belgium

To convert a MrSID (Multiresolution Seamless Image Database) from LizardTech you’ll need GDAL (Geospatial Data Abstraction Library) — Mac Users: download here — along with its MrSID Plugin — Mac Users: scroll down at link above.

Once both are installed you can use gdal_translate to do the actual conversion. Beware that converting will give you a gigantic file and will take a while. Best is to resize the output, to not end up with images of 500MB.

Convert MrSID to PNG and resize

/Library/Frameworks/GDAL.framework/Programs/gdal_translate -of PNG -outsize 10% 10% input.sid output.png

More info on the parameters can be found on the GDAL site.

Tip: if you can determine the NE and SW coordinates of the image, you can project it on top of Google Maps as a Ground Overlay (example)

Did this help you out? Like what you see?
Consider donating.

I don’t run ads on my blog nor do I do this for profit. A donation however would always put a smile on my face though. Thanks!

β˜•οΈ Buy me a Coffee ($3)

Join the Conversation

3 Comments

  1. This eventually worked for me (on a machine running OS X 10.9 Mavericks) after I overcame a couple obstacles. Initially I was getting error messages about missing libraries. It looked like this:

    ——————————————————
    ERROR 1: dlopen(/Library/Application Support/GDAL/1.11/PlugIns/gdal_MrSID.dylib, 1): Library not loaded: libtbb.dylib
    Referenced from: /Library/Application Support/GDAL/1.11/Libraries/libltidsdk.9.dylib
    Reason: image not found
    ERROR 1: dlopen(/Library/Application Support/GDAL/1.11/PlugIns/gdal_MrSID.dylib, 1): Library not loaded: libtbb.dylib
    Referenced from: /Library/Application Support/GDAL/1.11/Libraries/libltidsdk.9.dylib
    Reason: image not found
    ERROR 4: `input.sid’ not recognised as a supported file format.

    GDALOpen failed – 4
    ——————————————————

    Users should pay attention to the installation instructions when installing GDAL packages. When you run the installer package, you’ll see “Very Important Post-Install” instructions β€”Β don’t ignore these. The instructions tell you how to download and install something called the ECW SDK. Follow the instructions and this will hook you up with the first missing library.

    The second missing library (libtbb.dylib) was already present on my machine after I had followed all the instructions. But for some reason it wasn’t being found. I had to manually “sudo cp” it over to /usr/local/lib/.

    I hope this comment helps other people who ran into the same problem.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.