SEATTLE — The Hubble Space Telescope has captured an amazing new photo of the Andromeda Galaxy. The new mosaic image represents the sharpest and largest mosaic image of the Milky Way's galactic neighbor ever taken, Hubble officials said.

The panoramic image shows striking details of the bright galaxy, which is located about 2.5 million light-years from Earth. While that may seem far away, Hubble usually trains its view on more distant targets. Because Andromeda fills up so much of Hubble's field of view, the telescope was able to capture incredible detail in its survey of the galaxy. Fly through the amazing Andromeda image in a new video as well.

NASA/ESA Hubble Space Telescope has produced the largest and sharpest image ever taken of the Andromeda galaxy (M31). Image released Jan. 5, 2015.
NASA/ESA Hubble Space Telescope has produced the largest and sharpest image ever taken of the Andromeda galaxy (M31). Image released Jan. 5, 2015.
Credit: NASA, ESA, J. Dalcanton (University of Washington, USA), B. F. Williams (University of Washington, USA), L. C. Johnson (University of Washington, USA), the PHAT team, and R. Gendler.

The newly-released image stretches across about 48,000 light-years of the galaxy's disk, according to Hubble officials. In total, the image shows more than 100 million stars in the galaxy. Hubble officials revealed the new photo during a news conference here at the 225th meeting of the American Astronomical Society. [See more amazing Hubble Space Telescope photos]

"Hubble traces densely packed stars extending from the innermost hub of the galaxy, seen at left," Hubble representatives said in a statement. "Moving out from this central galactic bulge, the panorama sweeps from the galaxy's central bulge across lanes of stars and dust to the sparser outer disk."

A Digitized Sky Survey image shows the area around the Andromeda galaxy (M31). Image released Jan. 5, 2015.
A Digitized Sky Survey image shows the area around the Andromeda galaxy (M31). Image released Jan. 5, 2015.
Credit: NASA, ESA, Digitized Sky Survey 2 (Acknowledgement: Davide De Martin)

Scientists can use this image to help them interpret other spiral galaxies like the Andromeda galaxy that might have similar light signatures, but are farther from Earth.

The panorama was created as part of the Panchromatic Hubble Andromeda Treasury (PHAT) program. This image was created as a mosaic of 7,398 exposures taken over the course of 411 pointings of the telescope, according to Hubble officials.

This wide-field view shows the Andromeda Galaxy (M31) The extent of the new PHAT survey of Andromeda using the NASA/ESA Hubble Space Telescope appears in the irregularly shaped region, and the rectangle within represents the main image of this article. Image released Jan. 5, 2015.
This wide-field view shows the Andromeda Galaxy (M31) The extent of the new PHAT survey of Andromeda using the NASA/ESA Hubble Space Telescope appears in the irregularly shaped region, and the rectangle within represents the main image of this article. Image released Jan. 5, 2015.
Credit: M31 PHAT Mosaic Credit: NASA, ESA, J. Dalcanton (University of Washington), B. F. Williams (University of Washington, USA), L. C. Johnson (University of Washington, USA), the PHAT team, and R. Gendler; Credit for ground-based background Image of M31: © 20

"Large groups of young blue stars indicate the locations of star clusters and star-forming regions. The stars bunch up in the blue ring-like feature toward the right side of the image," Hubble representatives said in the same statement. "The dark silhouettes trace out complex dust structures. Underlying the entire galaxy is a smooth distribution of cooler red stars that trace Andromeda's evolution over billions of years."

Andromeda and the Milky Way are on the way toward a crash of cosmic proportions. The two galaxies will merge, forming one new galaxy billions of years from now.

An image by NASA/ESA Hubble Space Telescope displays a section of the Andromeda Galaxy (M31) with annotations. Image released Jan. 5, 2015.
An image by NASA/ESA Hubble Space Telescope displays a section of the Andromeda Galaxy (M31) with annotations. Image released Jan. 5, 2015.
Credit: NASA, ESA/Hubble, and Z. Levay; PHAT Brick Credit: NASA, ESA/Hubble, J. Dalcanton (University of Washington), B. F. Williams (University of Washington, USA), L. C. Johnson (University of Washington, USA) and the PHAT team (STScI/AURA)

You can explore a zoomable version of the new PHAT image directly through Hubble here: http://hubblesite.org/newscenter/archive/releases/2015/02/image/a/format/zoom/

Follow Miriam Kramer @mirikramer. Follow us @Spacedotcom, Facebook and Google+. Original article on Space.com.