Preheat the oven to 350 degrees F. Beat the butter and sugar with an electric mixer in a large bowl until light and fluffy, about 5 minutes. Add the vanilla and almond extracts and the egg and mix to incorporate; don't worry if the mixture seems to separate.
Sift together the flour and baking powder and add to the creamed butter. Mix until combined. Using a cookie press, press the cookies onto ungreased baking sheets. Top with sprinkles of your choice. Bake until firm but not yet browning, 6 to 8 minutes. After a few minutes, move cookies to a rack and cool.