The software Revit unfortunately only accepts PNG icons that have a resolution of 96. Now I make all my icons in Illustrator and export them using the 'Export for Screens' function. Unfortunately you can't choose a DPI when exporting, so I have to change the DPI for each individual icon by hand in Photoshop. which is a painful process since every time you change the resolution the dimensions also change, so you have to set them back each time.
I know resolution/DPI on images is nonsense, but I'm looking for a way to somehow automatize this. The idea is it that can be done for multiple images simultaneously. The only thing that needs to change for each image is the image resolution, so no change in dimension.