Skip to main content

ComicView: an image archive (ZIP, RAR, CBR, CBZ) viewer written in Python and Qt

Project description

ComicView: Image Archive Viewer

ComicView is an 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 image 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:

comic_view

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.4.0.tar.gz (68.3 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.4.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for image_archive_viewer-0.4.0.tar.gz
Algorithm Hash digest
SHA256 909fb5d76342dac808d6c76570a07957eff0bffce5df13ad660785685d9ad368
MD5 e966ee9e2b8dc3613c9e97ed0d2e6cea
BLAKE2b-256 c8b0316846f5383e07593c99c6cabbdb53a9616df30cafed4b74ea0cd813cd57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for image_archive_viewer-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47f36a495a1122193c0794d7246b97a114ce7a50b589757939b2832ac6862bbc
MD5 cee4dc1961844031d6c86edc7250945c
BLAKE2b-256 3f70325586ad8e1310d9567f47d8f0f1d2d75d431d272f5badf41c5dc0d84f00

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