(Reuters) - OmniVision Technologies Inc posted better-than-expected quarterly results, helped by its CameraCube acquisition, but forecast the third quarter below estimates.

The company, which supplies illumination products for smartphones, sees third-quarter adjusted earnings of 5-17 cents per share on revenue of $160-180 million.

Analysts, on average, were expecting earnings of 26 cents per share on revenue of $201.4 million, according to Thomson Reuters I/B/E/S.

For the second quarter, net income fell to $21.1 million, or 35 cents per share, from $28.9 million, or 50 cents per share, a year ago.

Omnivision had a one-time gain of about $8.6 million related to the acquisition of the CameraCube production operations from VisEra Technologies Co in the quarter.

Excluding items, the company earned 48 cents per share.

Revenue fell to $217.9 million from $239.5 million a year ago.

Analysts had expected second-quarter earnings of 32 cents per share on revenue of $214.5 million, according to Thomson Reuters I/B/E/S.

Shares of Santa Clara, California-based OmniVision closed at $11.19 on Tuesday on Nasdaq.