Baseline JPEG and PNG can be decoded and encoded (almost) row-by-row. If resize supported iterators for reading pixels in, then the application wouldn't have to buffer the whole image before starting resize.
If resize also supported writing data out using an interator, then the whole resizing operation would only need about as much memory as the tmp table.
Baseline JPEG and PNG can be decoded and encoded (almost) row-by-row. If resize supported iterators for reading pixels in, then the application wouldn't have to buffer the whole image before starting resize.
If resize also supported writing data out using an interator, then the whole resizing operation would only need about as much memory as the
tmptable.