tag:blogger.com,1999:blog-9124909971657106030.post1718999741689079570..comments2018-10-23T18:09:18.320+05:30Comments on nerdapplabs, India: iPhone : Resizing image and maintain aspect ratioPraveen Garghttp://www.blogger.com/profile/15562496867562633489noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9124909971657106030.post-84270198252163670112012-03-05T20:08:39.598+05:302012-03-05T20:08:39.598+05:30did you defined this macro (as I mentioned in the ...did you defined this macro (as I mentioned in the post)?<br /><br />static inline double radians (double degrees) {return degrees * M_PI/180;}Praveen Garghttps://www.blogger.com/profile/15562496867562633489noreply@blogger.comtag:blogger.com,1999:blog-9124909971657106030.post-16265466868459090092012-03-05T19:51:18.069+05:302012-03-05T19:51:18.069+05:30no working giving radian reated errorno working giving radian reated errorAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9124909971657106030.post-31820069924943024912011-07-16T14:26:25.247+05:302011-07-16T14:26:25.247+05:30@ Nirali,
You might not be having the image of eq...@ Nirali,<br /><br />You might not be having the image of equal width and height, In case you want to get the image to be scaled to 98X98 (square shape) , your original image should have equal width and height (square shape i.e. equal width and height).<br /> <br />As we are scaling here..<br /><br />Hope this help..Praveen Garghttps://www.blogger.com/profile/15562496867562633489noreply@blogger.comtag:blogger.com,1999:blog-9124909971657106030.post-60539956995088683752011-04-05T14:16:21.677+05:302011-04-05T14:16:21.677+05:30I used this code. But i think there is still some ...I used this code. But i think there is still some distortion. I need image of size 98x98. So i pass height:98 and width:98 in the resize function. Do you think i am doing anything wrong? Please help.Anonymousnoreply@blogger.com