Displaying PNG File properly
-
Hi, I have some PNG files, which are not displaying properly in my application control, while they are opening perfectly fine in the browser. some of the files , which is creating problem have the foll. info.. Bit depth - 24 Width - 96 pixels Height - 96 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi some files, which are opening properly have the foll. info.. Bit depth - 24 Width - 48 pixels Height - 48 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi i tried to use the libpng, to convert the files, in to the dimension , which is converting properly..but could not found the solution. Can u pl. suggest something.. how to display them properly or what API should I use for the conversion. Thanks.
Vineet Kumar Singhal Sr.Software Engineer Mumbai Tough Time Never last, but Tough People do.
-
Hi, I have some PNG files, which are not displaying properly in my application control, while they are opening perfectly fine in the browser. some of the files , which is creating problem have the foll. info.. Bit depth - 24 Width - 96 pixels Height - 96 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi some files, which are opening properly have the foll. info.. Bit depth - 24 Width - 48 pixels Height - 48 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi i tried to use the libpng, to convert the files, in to the dimension , which is converting properly..but could not found the solution. Can u pl. suggest something.. how to display them properly or what API should I use for the conversion. Thanks.
Vineet Kumar Singhal Sr.Software Engineer Mumbai Tough Time Never last, but Tough People do.
Could you please tell, what do you mean by "Not Diplaying properly", are they distort, not seen, or partially seen ? Regards, Paresh.
-
Hi, I have some PNG files, which are not displaying properly in my application control, while they are opening perfectly fine in the browser. some of the files , which is creating problem have the foll. info.. Bit depth - 24 Width - 96 pixels Height - 96 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi some files, which are opening properly have the foll. info.. Bit depth - 24 Width - 48 pixels Height - 48 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi i tried to use the libpng, to convert the files, in to the dimension , which is converting properly..but could not found the solution. Can u pl. suggest something.. how to display them properly or what API should I use for the conversion. Thanks.
Vineet Kumar Singhal Sr.Software Engineer Mumbai Tough Time Never last, but Tough People do.
Hope I understood your question if you want to detaily of image(png) you can use of
CImage
class
WhiteSky
-
Could you please tell, what do you mean by "Not Diplaying properly", are they distort, not seen, or partially seen ? Regards, Paresh.
here I mean that the images are distorted.if i open it with "Windows Picture and Fax Viewer" it shows distorted. if I open it on a web control /ACDsee, it opens perfectly fine. I am displaying at 2 locations.. at the lacation where web control is opening it, it works fine.., while for the second control, which is a static image control,is displaying it distorted. Regs
Vineet Kumar Singhal Sr.Software Engineer Mumbai Tough Time Never last, but Tough People do.
-
Hi, I have some PNG files, which are not displaying properly in my application control, while they are opening perfectly fine in the browser. some of the files , which is creating problem have the foll. info.. Bit depth - 24 Width - 96 pixels Height - 96 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi some files, which are opening properly have the foll. info.. Bit depth - 24 Width - 48 pixels Height - 48 pixels Horizontal Resolution - 96 dpi Vertical Resolution - 96 dpi i tried to use the libpng, to convert the files, in to the dimension , which is converting properly..but could not found the solution. Can u pl. suggest something.. how to display them properly or what API should I use for the conversion. Thanks.
Vineet Kumar Singhal Sr.Software Engineer Mumbai Tough Time Never last, but Tough People do.