Skip to content
Discussion options

You must be logged in to vote

This is the result without touching the colorspace

I've done previous colour space conversions (like sRGB to CMYK) by using the SetProfile method.

image.SetProfile(ColorProfile.SRGB);
image.SetProfile(ColorProfile.USWebCoatedSWOP);

There is no built in profile for Rec601YCbCr, so I've downloaded an Rec601 ICC profile here.

image.SetProfile(new ColorProfile(@"\icc\Rec601PAL-v4.icc"));
image.SetProfile(ColorProfile.SRGB);

This gives me the white background that I want, but it also ruins the image's colours.

I can send the problematic image privately, but I'm unfortunately not allowed to post it publicly.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dlemstra
Comment options

@Kargo
Comment options

Answer selected by Kargo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants