Skip to content

Basic design

Hugo edited this page Sep 3, 2018 · 4 revisions

Principles of dufy

  1. Dufy is aimed at exactly manipulating and converting colors. All functions of dufy are based on corresponding standards and colorimetric definitions.
  2. In principle, converters should not only do interpolation but also appropriate extrapolation (instead of just clamping). Dufy extrapolates an out-of-gamut color (e.g. negative RGB) as naturally as possible, where continuity and one-to-one correspondence are regarded as important.
  3. Dufy should be fast to the extent that it is not inconsistent with the above principles.

Known violations of the principles

Clone this wiki locally