diff --git a/XCSummary/Templates/CMHTMLReportBuilder.m b/XCSummary/Templates/CMHTMLReportBuilder.m index 1947dcf..3d21940 100644 --- a/XCSummary/Templates/CMHTMLReportBuilder.m +++ b/XCSummary/Templates/CMHTMLReportBuilder.m @@ -137,12 +137,12 @@ - (void)_appendActivity:(CMActivitySummary *)activity indentation:(CGFloat)inden if (activity.hasScreenshotData) { templateFormat = [self _decodeTemplateWithName:ActivityTemplateWithImage]; - NSString *imageName = [NSString stringWithFormat:@"Screenshot_%@.png", activity.uuid.UUIDString]; + NSString *imageName = [NSString stringWithFormat:@"Screenshot_%@.jpg", activity.uuid.UUIDString]; NSString *fullPath = [self.path stringByAppendingPathComponent:imageName]; [self.fileManager copyItemAtPath:fullPath toPath:[self.htmlResourcePath stringByAppendingPathComponent:imageName] error:nil]; - NSString *localImageName = [NSString stringWithFormat:@"resources/Screenshot_%@.png", activity.uuid.UUIDString]; + NSString *localImageName = [NSString stringWithFormat:@"resources/Screenshot_%@.jpg", activity.uuid.UUIDString]; composedString = [NSString stringWithFormat:templateFormat, indentation, @"px", activity.title, activity.finishTimeInterval - activity.startTimeInterval, localImageName]; } else diff --git a/build/xcsummary b/build/xcsummary index 218fa98..be096a1 100755 Binary files a/build/xcsummary and b/build/xcsummary differ