fix transparency parsing and just write in same place than original.
fix invert transparency option