Skip to main content

A simple image archive (ZIP) viewer

Project description

Image Archive Viewer

A simple image archive viewer for ZIP, RAR, CBR and CBZ files. Open archive files containing images and browse them in a fullscreen mode with a keyboard- and mouse-friendly user interface.

This archive viewer is built in Python and uses Qt for its user interface.

It can be used for viewing comic books, photo collections, or any image archives.

Features

  • View images from ZIP, RAR, CBR and CBZ archives (PNG, JPG)
  • Fullscreen view
  • Mouse and keyboard navigation
  • Zoom and pan with mouse or keyboard

The list of files in the archive is sorted alphabetically upon loading.

To see help in the application press "H" at any time.

Supported Formats

Archive Formats

  • CBR files (.cbr) - Comic Book RAR files
  • CBZ files (.cbz) - Comic Book ZIP files
  • RAR files (.rar) - RAR archives
  • ZIP files (.zip) - ZIP archives

Image Formats

  • PNG (.png)
  • JPEG (.jpg, .jpeg)

Installation

Prerequisites

  • Python 3.8 or higher
  • unrar (for reading CBR and RAR files)

Dependencies

  • PyQt5
  • Pillow
  • rarfile (for reading CBR and RAR files)

Install from PyPI

To install this tool run:

pip install image-archive-viewer

Using uv:

uv pip install image-archive-viewer

You can also install it as a uv tool and then run it directly from shell:

uv tool install image-archive-viewer

Usage

After installation, run the viewer:

show_images

You will be prompted to select a ZIP file containing images. The viewer will open in a fullscreen mode.

Controls

Navigation

  • Right Arrow or Space: Next image
  • Left Arrow: Previous image
  • Q or Esc: Quit

Zoom

  • + or =: Zoom in
  • -: Zoom out
  • 0: Reset zoom to fit window
  • Mouse wheel: Zoom in/out (centered on cursor)

Panning

  • W: Pan down
  • S: Pan up
  • A: Pan right
  • D: Pan left
  • Mouse drag: Pan image (when zoomed in)

Other

  • H: Show/hide help information
  • O: Open a new archive file (ZIP or CBZ)

Tips

  • Press H anytime to see a help screen with all available controls
  • Use 0 to quickly reset zoom and fit the image to the window
  • The mouse wheel zooms centered on your cursor position for precise control
  • When zoomed in, you can drag with the mouse to pan around the image

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

image_archive_viewer-0.3.1.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

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

image_archive_viewer-0.3.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file image_archive_viewer-0.3.1.tar.gz.

File metadata

File hashes

Hashes for image_archive_viewer-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c7ecede64f18ccc089740e7c8fee2edc13d58d4135a2c4c14a0171af7a5e96c2
MD5 25993a828c9afe4a575129bef9b27bea
BLAKE2b-256 cdfecce72b1402c3b11a1769331db9b6ce1336428528800b31630d1c1bc5cafa

See more details on using hashes here.

File details

Details for the file image_archive_viewer-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for image_archive_viewer-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cea7c1711a1230167e8da981a54388179a30d9b8dab90e5e598def4660b5114b
MD5 9fe32d677867101bed2e214272207b43
BLAKE2b-256 daf5b54efa1df8218d23f61169ad3c232dd75da3078d2e366f3d729878c16018

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