julin69

Results 19 comments of julin69

If a image without icc profile, how to embed icc file to the image? ```python srgb_profile = ImageCms.createProfile("sRGB") new_image = ImageCms.profileToProfile(current_image, None, srgb_profile, 0, "RGB") # this line error ```...

If the image is not sRGB,how to transfer it to mode sRGB? use Adobe ACE?

Adobe photoshop can transfer like this: ![image](https://user-images.githubusercontent.com/34527159/182077232-6a76b353-a439-4bfe-bf36-0a7a0bbfeba5.png) Is pillow have the same function?

I want to finally save as jpeg with 300dpi

I use pillow with new、 resize、paste、 crop、rotate and so on functions to handle the picture

```python from PIL import Image current_image = Image.open("1.jpeg") print(current_image.info.get("icc_profile")) ``` How to know the icc profile is sRGB or not sRGB? If this icc profile is not sRGB, how to...

```python print(ImageCms.getProfileName(io.BytesIO(profile))) ``` If the profile name is not sRGB,how to transform it to sRGB?

Hello, I used this way, but when i save with the sRgb icc profile,it failed: ```python import io from PIL import Image, ImageCms current_image = Image.open("out.jpg") profile = current_image.info["icc_profile"] #...

Is your up code can transform display P3 profile to sRGB profile? Or my code can achieve this function?