Skip to content

Embedded non-free ICC profile in person.jpg(.gz) #5749

Closed
@kapouer

Description

@kapouer

In nodejs 5.9.0,

identify -verbose test/fixtures/person.jpg | grep icc
   icc:copyright: Copyright (c) 1998 Hewlett-Packard Company
   icc:description: sRGB IEC61966-2.1
   icc:manufacturer: IEC http://www.iec.ch
   icc:model: IEC 61966-2.1 Default RGB colour space - sRGB
   Profile-icc: 3144 bytes

The profile is actually embedded - it's not only a reference to it.
IEC 61966-2.1 should have a free and open-source license, right ?
Sadly, no; see bottom of page http://www.color.org/srgbprofiles.xalter, quoting:

...permission to use, copy and distribute these file for any purpose
is hereby granted without fee, provided that the file is not changed
including the ICC copyright notice tag...

Which is in direct contradiction of chapter 3 of https://opensource.org/osd

To fix this: convert person.jpg +profile "icc" person.jpg
(do not forget to do it on person.jpg.gz as well).
Though the tests using person.jpg seems to assume its file size, so stripping several kilobytes from it might hurt a test.

I know, it's crazy - always strip and convert images before redistribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues and PRs related to the general management of the project.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions