Dhaneel.Com
Technical & Miscellaneous Ramblings-
Google Instant Music
Posted on December 5th, 2010 No commentsWhen Google launched Google Music in India. I wanted to create some web service on top of it. And came up with Instant Music. The entire site is in php and there are 6 web services which I have created which are taking care of playing, searching, popular of songs. You can visit the site here.
If you have any suggestions or comments pls write to me.
Uncategorized all hindi songs, audio hindi songs, best hindi songs, best hindi songs 2009, bollywood hindi songs, classical hindi songs, download free hindi songs, download free hindi songs mp3, download free mp3 hindi songs, download hindi songs, download hindi songs for free, download hindi songs free, download hindi songs free mp3, download hindi songs mp3, download latest hindi songs, download new hindi songs, download old hindi songs, free downloads hindi songs, free hindi songs, free hindi songs downloads, free hindi songs mp3 download, free hindi songs mp3 downloads, free hindi songs online, free hindi songs to listen, free mp3 hindi songs, free mp3 hindi songs download, free new hindi songs, free online hindi songs, hindi songs, hindi songs 2009, hindi songs 2010, hindi songs audio, hindi songs download, hindi songs download free, hindi songs download free mp3, hindi songs downloads, hindi songs free download, hindi songs listen online, hindi songs lyrics, hindi songs mp3, hindi songs mp3 download, hindi songs new, hindi songs online, hindi songs online free, hindi songs online radio, hindi songs play, hindi songs radio, hindi songs radio online, hindi songs video, latest hindi songs, latest hindi songs download, latest hindi songs online, listen hindi songs, listen hindi songs online, listen hindi songs online free, listen latest hindi songs, listen to free hindi songs, listen to hindi songs, listen to hindi songs online, live hindi songs, mp3 hindi songs, mp3 hindi songs free download, mp3 new hindi songs, mp3 old hindi songs, music hindi songs, new hindi songs, new hindi songs 2009, new hindi songs 2010, new hindi songs download, new hindi songs mp3, new mp3 hindi songs, old hindi songs, old hindi songs lyrics, old hindi songs mp3, old hindi songs online, old hindi songs radio, on line hindi songs, online free hindi songs, online hindi songs, online hindi songs listen, online hindi songs play, online hindi songs radio, online radio hindi songs, play free hindi songs, play hindi songs, play hindi songs online, play online hindi songs, raaga hindi songs, raga.com hindi songs, romantic hindi songs, sad hindi songs, smashhits.com hindi songs, smashits hindi songs, top 10 hindi songs, top 20 hindi songs, top hindi songs, top hindi songs 2009, top hindi songs 2010, top ten hindi songs, youtube hindi songs -
Rotate Image
Posted on December 5th, 2010 No commentsFor the same project for which I needed functionality to resize the bitmap from image. The resize post can be found here.
I needed to rotate the image by given angel. So here is the code which does that.
-
-
private Bitmap rotateImage(Bitmap b, float angle)
-
{
-
//create a new empty bitmap to hold rotated image
-
Bitmap returnBitmap = new Bitmap(b.Width, b.Height);
-
//make a graphics object from the empty bitmap
-
Graphics g = Graphics.FromImage(returnBitmap);
-
//move rotation point to center of image
-
g.TranslateTransform((float)b.Width/2, (float)b.Height / 2);
-
//rotate
-
g.RotateTransform(angle);
-
//move image back
-
g.TranslateTransform(-(float)b.Width/2,-(float)b.Height / 2);
-
//draw passed in image onto graphics object
-
g.DrawImage(b, new Point(0, 0));
-
return returnBitmap;
-
}
-
C# 3d image rotate, ajax image rotate, asp.net image rotate, batch image rotate, c# image rotate, canvas image rotate, css background image rotate, css image rotate, drupal image rotate, flash image rotate, html image rotate, image rotate, image rotate algorithm, image rotate c#, image rotate code, image rotate css, image rotate flash, image rotate html, image rotate jquery, image rotate php, image rotate script, joomla image rotate, jquery image rotate, mootools image rotate, net image rotate, online image rotate, php image rotate, php image rotate script, silverlight image rotate, wpf image rotate -
-
Image re-size
Posted on December 5th, 2010 No commentsI wanted to re-size the image when it was exceeding certain width and height. I wanted the re-size should be percentage wise. So here is the c# code which does that.
-
-
public Image Resize(Image img, double percentage)
-
{
-
int originalW = img.Width;
-
int originalH = img.Height;
-
//here if you pass 10 then it will create 90% if the original image and re-size it.
-
int resizedW = (int)(originalW * ((100.0-percentage)/100.0));
-
int resizedH = (int)(originalH * ((100.0-percentage)/100.0));
-
//create a new Bitmap the size of the new image
-
Bitmap bmp = new Bitmap(resizedW, resizedH);
-
Graphics graphic = Graphics.FromImage((Image)bmp);
-
graphic.InterpolationMode = InterpolationMode.HighQualityBicubic;
-
//draw the newly resized image
-
graphic.DrawImage(img, 0, 0, resizedW, resizedH);
-
//dispose and free up the resources
-
graphic.Dispose();
-
return (Image)bmp;
-
}
-
And you can call this method like this…
-
-
Image imgTemp = Image.FromFile("replace with image file name");
-
imgTemp = Resize(imgTemp, 10);
-
C# ajax image resize, asp image resize, asp image resize script, asp.net image resize, auto image resize, automatic image resize, background image resize, batch image resize, bbcode image resize, bulk image resize, c# image resize, chrome image resize, codeigniter image resize, coldfusion image resize, command line image resize, convert image resize, css background image resize, css image resize, digital image resize, download image resize, drupal image resize, drupal image resize filter, easy image resize, fast image resize, flash image resize, free image resize, free image resize software, free image resize tool, gd image resize, gif image resize, gimp image resize, html background image resize, html image resize, html image resize code, image resize, image resize algorithm, image resize asp, image resize auto, image resize batch, image resize bulk, image resize c#, image resize calculator, image resize code, image resize crop, image resize css, image resize download, image resize free, image resize html, image resize html code, image resize in php, image resize jquery, image resize online, image resize php, image resize picture, image resize powertoy, image resize program, image resize script, image resize software, image resize tool, image resize upload, image resize utility, image resize vista, image resize web, image resize windows, image resize windows 7, joomla image resize, jpeg image resize, jquery image resize, jsp image resize, linux batch image resize, linux image resize, mass image resize, microsoft image resize, multiple image resize, online image resize, online image resize tool, open source image resize, opencv image resize, perl image resize, php gd image resize, php image resize, php image resize class, php image resize function, php image resize script, php upload image resize, phpbb image resize, phpbb3 image resize, powertoy image resize, powertoys image resize, python image resize, quick image resize, silverlight image resize, ubuntu batch image resize, vista image resize, web image resize, windows 7 image resize, windows image resize, windows xp image resize, xp image resize -
-
Offerpalmedia pays!!!
Posted on July 26th, 2010 No commentsHello.. Just wanted to write this quick blog post to let you guys know that I have received payment from Offerpalmedia. It was 850$+.
They pay twice a month and on net 15 day term. So I think I can rely on them. Payment was made 10 days late but who care I finally got the payment. This payment was for 15 days display ads on my applications. I am also trying lifestreetmedia and will write a review on it once I get payment from them. -
Cheap and the best laptop to buy
Posted on July 26th, 2010 No commentsI was doing a research on buying a cheap and good laptop for my sister and found this laptop.
Compaq Presario CQ62-210US
As I am developer. I have installed VS2010 and used it for a month and it’s just too good for developer also. Good look and robust laptop. And the best part it’s just 380$!!!. If someone is looking for buying a laptop then you should have a look at it.


