Skip to content
Snippets Groups Projects
Verified Commit 8c6f82de authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Add debugging info for image color profiles

parent 1bc7246b
No related branches found
No related tags found
No related merge requests found
......@@ -78,10 +78,6 @@ func resize(wand *imagick.MagickWand, wandLinear *imagick.MagickWand, originalCo
if err != nil {
return err
}
for key, value := range profiles {
println(key)
mw.ProfileImage(key, []byte(value))
}
}
}
......@@ -94,6 +90,10 @@ func resize(wand *imagick.MagickWand, wandLinear *imagick.MagickWand, originalCo
}
mw.StripImage()
for key, value := range profiles {
println(key)
mw.ProfileImage(key, []byte(value))
}
err = mw.WriteImage(target)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment