Put the ground pineapple and sugar in a medium sauce pan. Cook it over medium heat for 15 minutes and stir at times. Add pepper powder, salt, chili flakes and pinch of Orange food color(optional) and cook till mixture gets thicker consistency.
Add amchoor powder or lemon juice, cinnamon powder and garam masala powder to the pan and mix it nicely. Cook for about 30 second more.
Once its done, turn off the heat. Pineapple jam is ready. Let it cool down.