Shutterfly, Inc. is in talks to go public through a merger with a blank-check company, according to people familiar with the matter, less than two years after Apollo Global Management, Inc. (NYSE:APO) took the online-photo-book maker private. The company is discussing a deal with a special-purpose acquisition company called Altimar Acquisition Corp. II (NYSE:ATMR.U) that would value it at between $4 billion and $5 billion including debt, the people said.

Details of the potential transaction couldn't be learned. Any deal could be weeks away, some of the people said, and there is no guarantee the parties will reach an agreement. If they do, it would add Shutterfly to the long list of companies taking part in a recent explosion of deals involving SPACs, which raise money in a public offering with plans to later find one or more companies to merge with.