This is how I got my door trim off without warps, dings, pry marks etc. Get piece of hardwood (oak), but any hardwood or hard plastic will do. About 8 inches long 1/4 in thick and 2in wide. The objective is to distribute the force, and use something that won’t ding the aluminum. Bend back the tabs. Remove in this order rear, top, front. Start on one end of the trim. Place the wood, lengthwise against the edge of the trim (the 1/4in side of the wood touching). Work it from the outside of the door frame. Line the wood up with the same angle as the fold in the trim. If you strike it at a right angle to the frame, you'll just cinch the fold even more. Tap the wood (lightly) with a small mallet or hammer, up and down the wood a few times. Move the wood over a few inches and repeat. Do this back and forth along the length of the trim until it pops off. Takes time and patience. Just stop and check often to make sure its coming off evenly so you don’t warp it.
Hope that wasn’t confusing %) good luck.