Images imported from phpBB have artefact lines

If it happens after they are imported, those are the settings.

If they get broken when they are imported, then it could be an issue with the script or your environment. You can do stuff like check the images that are on the filesystem before they are imported–or are they in the database?