Project

General

Profile

Feature #403

Added I/O abstraction and implementations

Added by Brad Schick almost 17 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
design
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The goal is to allow Image and subclasses to read from I/O sources other than files. Initial implementations should include file and memory, but others are possible.

Additional information:

The design will follow the semantics of the FILE* functions, making the change over easy. It would have been nice to use basic_iostream and friends, but instantiating the iostreams templates for type 'byte' proved to be a big hassle (and buggy under GCC 3.3.x).

Also available in: Atom PDF