restrictive color profile when import MNG file #1714
Replies: 4 comments 4 replies
-
Strange, I swapped to a different file and it didn't do it when I attempted to change it out. I will keep an eye on it and update if I see the problem happen again. |
Beta Was this translation helpful? Give feedback.
-
Can you still reproduce this with your initial file and is it possible to share it? |
Beta Was this translation helpful? Give feedback.
-
It hasn't happened again. When I went back through my code, I think I had updated a collection name but missed some lines that referenced it. Since correcting that it didn't seem to happen again. |
Beta Was this translation helpful? Give feedback.
-
On a unrelated note to this issue, which has never cropped up again so I think it was most likely user error, is there a way to remove the alpha from my MNG files when I save? At the moment it's looking like I'd have to open them individually and set it Opacity/Matte color but I'm sure there's something within the collection settings that'd let me do it. I've been scouring through the documentation but I'm just not seeing what I'm looking for. |
Beta Was this translation helpful? Give feedback.
-
I'm back again.
So I'm attempting to import an existing MNG, convert to a PNG then use those PNGs as Texture 2Ds and grabbing/moving pixels around to make a similar animation.
Now, I have the second step working, but I've noticed that it appears that when I import my .MNG it restricts the color profile of import frames to what I'm assuming is 2 colors.
` using MagickImageCollection collectionMNG = new MagickImageCollection(Application.dataPath + "importFile.MNG");
{
So this WILL export my frames as PNGs, but I'm not sure what I can do about the files being two colors.
This is how they should look:
This is how they look:
Those are the same 4 frames in both preview images.
In some of my failed attempts I swear I saw something reference to a 2bit file maybe? I had tried to set the Magick.Format to a few different types to no success.
Any assistance would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions