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
Release files for mrsiddecodetest 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mrsiddecodetest-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mrsiddecodetest-1.0.5-py3-none-any.whl
| Download URL | mrsiddecodetest-1.0.5-py3-none-any.whl |
|---|---|
| Size | 73.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ad20e7df048065f857ee1b34c714ef14f81be1238e7a86e6f00343a21aaaebc
|
|
BLAKE2b-256 checksum How to use checksums |
4df0dcd990791519ae6b92e01c689e5f36f6649c2c437a320ccd945ff0285c04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|