Adobe's shares, which have gained over 47 percent so far this year, fell 3.5 percent at $249 in extended trading after the company forecast third-quarter revenue nearly in line with estimates.

The maker of image-editing software Photoshop said it expects third-quarter revenue of $2.24 billion and adjusted earnings of $1.68 per share. This compares with analysts' estimate of a revenue of $2.22 billion and adjusted earnings of $1.61 per share.

"The third-quarter guidance looks to be an in-line guide, which we would expect them to beat given how strong the business is. But, it is nothing we are worried about," said Christopher Rossbach, chief investment officer at private investment firm J Stern, which holds a position in Adobe.

Last month, in a move to bolster its Experience Cloud business, Adobe agreed to buy e-commerce services provider Magento Commerce from private equity firm Permira for $1.68 billion.

"We expect the closing of Magento to be slightly dilutive to our Q3 GAAP earnings per share target", Chief Financial Officer John Murphy said on a conference call with analysts.

Adobe's second-quarter net income rose to $663.2 million, or $1.33 per share, from $374.4 million, or 75 cents per share, a year earlier.

The company's digital media business, that includes Creative Cloud, posted revenue of $1.55 billion, compared with $1.21 billion, a year earlier.

Revenue in Adobe's Experience Cloud business, which provides services including analytics, advertising and marketing, rose to $586 million, above estimates of $570.4 million.

Adobe's quarterly revenue rose to $2.20 billion from $1.77 billion, beating analysts' estimate of $2.16 billion.

Excluding certain items, Adobe earned $1.66 per share, beating analysts' estimate of $1.54 per share.

(Reporting by Vibhuti Sharma in Bengaluru; Editing by Shailesh Kuber)