Skip to main content

GeoWGS84 LizardTech MrSID Python Decoder Installer

Project description

GeoWGS84 MrSID Decoder

Package Name: mrsiddecodetest
Author: Vibudh Bhatnagar
Platform: Windows (64-bit)
Python Version: >= 3.8

GeoWGS84 MrSID Decoder is a lightweight Python Installer.
It allows you to extract metadata from .sid files and decode them into common raster formats.


📦 Installation

Install from PyPI:

pip install mrsiddecodetest


⚙️ Requirements

  • Windows 64-bit (win_amd64)
  • Python 3.8 or higher
  • No external SDK installation required (binaries included)

📂 Supported Input Format

  • .sid (MrSID raster format)

🖼️ Supported Output Formats

You can decode .sid files into:

  • GeoTIFF (.tif, .tiff)
  • JPEG (.jpg)
  • PNG (.png)
  • BMP (.bmp)
  • JPEG2000 (.jp2)
  • NITF (.ntf)

🚀 Usage

Basic Example

from mrsiddecodetest import decode, info 

input_file = r"input_folder\meg_cr20.sid"
output_file = r"output_folder\output_test.tif"

# Get metadata information
print(info(input_file))

# Decode to GeoTIFF
decode(input_file, output_file)

📊 Extract Metadata Only

from mrsiddecodetest import info

metadata = info(r"E:\path\to\file.sid")

print("Width:", metadata.get("width"))
print("Height:", metadata.get("height"))
print("Bands:", metadata.get("bands"))
print("Projection:", metadata.get("projection"))

🔄 Decode to Different Formats

➜ GeoTIFF

decode(r"input.sid", r"output.tif")

➜ JPEG

decode(r"input.sid", r"output.jpg")

➜ PNG

decode(r"input.sid", r"output.png")

➜ BMP

decode(r"input.sid", r"output.bmp")

➜ JPEG2000 (JP2)

decode(r"input.sid", r"output.jp2")

➜ NITF

decode(r"input.sid", r"output.ntf")

🛡️ Error Handling Example

from mrsiddecodetest import decode, info

try:
    print(info("input.sid"))
    decode("input.sid", "output.tif")
    print("Decoding successful!")
except Exception as e:
    print("Error:", str(e))

📝 Important Notes (Windows Users)

Always Use Raw Strings for Windows Paths

Correct:

r"E:\folder\file.sid"

OR

"E:\\folder\\file.sid"

Avoid:

"E:\folder\file.sid"

Recommended: Virtual Environment Setup

python -m venv venv
venv\Scripts\activate
pip install mrsiddecodetest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mrsiddecodetest-1.0.5-py3-none-any.whl (73.0 MB view details)

Uploaded Python 3

File details

Details for the file mrsiddecodetest-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for mrsiddecodetest-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8ad20e7df048065f857ee1b34c714ef14f81be1238e7a86e6f00343a21aaaebc
MD5 d3e8bd3e27a26b741984397c103207a7
BLAKE2b-256 4df0dcd990791519ae6b92e01c689e5f36f6649c2c437a320ccd945ff0285c04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page