G
Guest
hi,
i am facing acertian problem in scaling an image in compactframework.
i have got a certain piece of code written below which i have written for
..net framework and need to convert it for compactframework.
************************************************************
scaledImg = new Bitmap(img,(int)(img.Width*scale),(int)(img.Height*scale));
************************************************************
i tried just could found only this alternative
**********************************************************
scaledImg = new Bitmap(img);//(int)(img.Width*scale),(int)(img.Height*scale));
**********************************************************
But due to this i am getting wrong results .
Can anyone please help in converting the above function in compactframe work.
waiting for reply eagerly.
Regards
Naveen
i am facing acertian problem in scaling an image in compactframework.
i have got a certain piece of code written below which i have written for
..net framework and need to convert it for compactframework.
************************************************************
scaledImg = new Bitmap(img,(int)(img.Width*scale),(int)(img.Height*scale));
************************************************************
i tried just could found only this alternative
**********************************************************
scaledImg = new Bitmap(img);//(int)(img.Width*scale),(int)(img.Height*scale));
**********************************************************
But due to this i am getting wrong results .
Can anyone please help in converting the above function in compactframe work.
waiting for reply eagerly.
Regards
Naveen