comparison tools/gfxconv.c @ 940:ff18d2511843

Remove the doubleMC madness completely. Should be replaced with x/y aspect ratio information for display purposes.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 22:01:23 +0200
parents 8fe48c08dbca
children 985225a93aeb
comparison
equal deleted inserted replaced
939:5e820addd035 940:ff18d2511843
1707 } 1707 }
1708 1708
1709 switch (optOutFormat) 1709 switch (optOutFormat)
1710 { 1710 {
1711 case FFMT_IMAGE: 1711 case FFMT_IMAGE:
1712 res = dmC64ConvertBMP2Image(&outImage, cimage, cfmt, FALSE); 1712 res = dmC64ConvertBMP2Image(&outImage, cimage, cfmt);
1713 1713
1714 if (res != DMERR_OK || outImage == NULL) 1714 if (res != DMERR_OK || outImage == NULL)
1715 { 1715 {
1716 dmError("Error in bitmap to image conversion.\n"); 1716 dmError("Error in bitmap to image conversion.\n");
1717 goto error; 1717 goto error;
1725 res = dmWriteBitmap(optOutFilename, cimage, optOutSubFormat, TRUE); 1725 res = dmWriteBitmap(optOutFilename, cimage, optOutSubFormat, TRUE);
1726 break; 1726 break;
1727 1727
1728 case FFMT_CHAR: 1728 case FFMT_CHAR:
1729 case FFMT_SPRITE: 1729 case FFMT_SPRITE:
1730 res = dmC64ConvertBMP2Image(&outImage, cimage, cfmt, TRUE); 1730 res = dmC64ConvertBMP2Image(&outImage, cimage, cfmt);
1731 1731
1732 if (res != DMERR_OK || outImage == NULL) 1732 if (res != DMERR_OK || outImage == NULL)
1733 { 1733 {
1734 dmError("Error in bitmap to template image conversion.\n"); 1734 dmError("Error in bitmap to template image conversion.\n");
1735 goto error; 1735 goto error;