On Tue, 22 Sep 2015, László Böszörményi wrote:

On Tue, Sep 22, 2015 at 8:27 PM, Bob Friesenhahn
<bfrie...@simple.dallas.tx.us> wrote:
If there are two packages with different quantum depth, then they should be
able to co-exist without conflict.  Likewise, the existing package should be
able to co-exist with new packages which are distinguished via quantum depth
so that existing software continues to work.
You make me wonder. Would it worth to have packages with different
quantum depth support in parallel? I mean I would compile / install
the package twice; first for QD=16 and then QD=32 to different paths
so I can ship the libraries parallel for any given release.

This would be useful since some applications need absolute minimum use of resources (e.g. web applications or processing typical JPEG files) while others care more about the degree of color precision.

Dependent applications should be re-compiled and re-linked against the new
packages so they stop using the old library.
Does it mean that run-time loading is not possible? A dependent
package would ask which one (16/32) you would like and then load the
library that provides the specified QD to process the images.

That would require explicit code in the application and creating a loadable module compiled against each one.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Reply via email to