Dear Andres,
I could not reproduce your problem, as all the exported format is .png from my experiment.
would you please provide a sample rvt file? I think it is rvt file specific.
BTW: before export a view, you should check if it is exportable, otherwise exception will be thrown saying: Autodesk.Revit.Exceptions.ArgumentException: some of the views is not exportable
you can add this line:
if (View.IsTemplate) continue;
I could not reproduce your problem, as all the exported format is .png from my experiment.
would you please provide a sample rvt file? I think it is rvt file specific.
BTW: before export a view, you should check if it is exportable, otherwise exception will be thrown saying: Autodesk.Revit.Exceptions.ArgumentException: some of the views is not exportable
you can add this line:
if (View.IsTemplate) continue;