Skip to content

Can't get "icc_profile" #3270

Closed
Closed
@fangcunguolin

Description

I used the following code to get ICC profile, but ICC returned None. There is no "icc_profile" in im.info

image = Image.open('test.jpg')
icc = image.info.get('icc_profile')
for x in im.info:
      print(x)

The JPG picture taken by the camera has "EXIF, DPI, MP" in im.info. After Photoshop saves and embeds ICC, there are "JFIF, jfif_version, DPI, jfif_unit, jfif_density, icc_profile".

I took photos with Nikon and Sony cameras, without any software processing, and did not find ICC profile using Pillow. But when GIMP and Photoshop are opened, you can check the use of Adobe RGB (1998) configuration files.

python 3.6
Pliiow 5.2

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions