Skip to content

Commit

Permalink
Enhance CMYK detection by including support for proofCMYK
Browse files Browse the repository at this point in the history
  • Loading branch information
hbl917070 committed Nov 26, 2024
1 parent baca09e commit 8ee3714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tiefsee/Lib/ImgLib.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static bool IsCMYK(string path) {
byte[] bytes = new byte[len];
sr.Read(bytes, 0, len);
string s = System.Text.Encoding.ASCII.GetString(bytes);
if (s.Contains("prtrCMYK")) {
if (s.Contains("prtrCMYK") || s.Contains("proofCMYK")) {
return true;
}
}
Expand Down

0 comments on commit 8ee3714

Please sign in to comment.