Answer
I say, and with God's help: If the gelatin is extracted from a pig, it is not permissible to use it except in cases of necessity. If it is extracted from a dead animal, it is not permissible to eat it, but it is permissible to use it. And God knows best.