In a stand mixer, cream together the butter and confectioners sugar. Add the vanilla and almond extract and beat until light and fluffy, scraping down the sides of the bowl as needed.
Gradually, add the flour and salt and mix on low until the ingredients are just combined. Fold in the chopped cranberries.
Have two pieces of parchment paper ready. Divide the dough evenly into two pieces. Shape each portion into a log that is approximately 7 inches long by 3 inches in diameter. Wrap each log tightly in the parchment paper and twist the ends. Place the dough in the fridge to chill for at least 2 hours and up to 2 days.
When ready to bake, preheat the oven to 350 degrees F. and line two cookie sheets with parchment paper. Slice the dough into 1/3 inch slices and place at least an inch apart on the cookie sheets. Bake for 11-13 minutes or until the cookies are firm and are slightly brown at the edges.
Remove the cookie sheets from the oven and let them sit for 5 minutes. Remove the cookies to wire racks and let them cool completely.
Melt the white chocolate in the microwave in 10 second intervals until melted. Stir in between each interval until smooth. Let the white chocolate cool slightly. Dip each cookie about a quarter of the way into the chocolate and place back on parchment paper. Immediately sprinkle with chopped pistachios and/or sprinkles if using. Place the cookie sheet in the freezer for 10 minutes to set the chocolate. Remove from freezer and serve on a platter or box and gift to friends and family.