In my code, I have the following command. It's only purpose is to open the source image for work:
Code: Select all
imgs.push_back(Image(get_file_name(size, "png")));
For some reason, when I change the file extension to "mpc", the image fails to open properly and my output (a composite of my source images) ends up all black. If I keep it as "png" it works just fine.
There is no difference in the naming schemes between the mpc and png files save for the extension. Running a 'convert' command from the command line seems to show that the mpc files are encoded just fine - the output will look like a normal png:
Code: Select all
convert img.mpc test.png