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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mrsiddecodetest-1.0.5-py3-none-any.whl.
File metadata
- Download URL: mrsiddecodetest-1.0.5-py3-none-any.whl
- Upload date:
- Size: 73.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ad20e7df048065f857ee1b34c714ef14f81be1238e7a86e6f00343a21aaaebc
|
|
| MD5 |
d3e8bd3e27a26b741984397c103207a7
|
|
| BLAKE2b-256 |
4df0dcd990791519ae6b92e01c689e5f36f6649c2c437a320ccd945ff0285c04
|