cs_Scooper
Messages postés71Date d'inscriptionjeudi 2 octobre 2003StatutMembreDernière intervention12 septembre 2013 24 juil. 2008 à 18:45
Salut, je ne suis pas sur mais on dirait qu'il y a une erreur dans la fonction GetCodecInfo :
if (format ImageFormat.Jpeg && format ImageFormat.Png)
throw new ArgumentException("Invalid image format. Actually, DeepZoom supports only Jpeg and Png image format.");
d'apres l'exception le test devrait plutôt être :
if (format != ImageFormat.Jpeg && format != ImageFormat.Png)
throw new ArgumentException("Invalid image format. Actually, DeepZoom supports only Jpeg and Png image format.");
24 juil. 2008 à 18:45
if (format ImageFormat.Jpeg && format ImageFormat.Png)
throw new ArgumentException("Invalid image format. Actually, DeepZoom supports only Jpeg and Png image format.");
d'apres l'exception le test devrait plutôt être :
if (format != ImageFormat.Jpeg && format != ImageFormat.Png)
throw new ArgumentException("Invalid image format. Actually, DeepZoom supports only Jpeg and Png image format.");