Skip to content

Commit a0c9790

Browse files
committed
feat: add dominant color to csv export
#2159
1 parent 61bafe8 commit a0c9790

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/ai/elimu/web/content/multimedia/image/ImageCsvExportController.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public void handleRequest(
4343
"checksum_md5",
4444
"checksum_github",
4545
"download_url",
46-
"image_format"
46+
"image_format",
47+
"dominant_color"
4748
);
4849
StringWriter stringWriter = new StringWriter();
4950
CSVPrinter csvPrinter = new CSVPrinter(stringWriter, csvFormat);
@@ -59,7 +60,8 @@ public void handleRequest(
5960
image.getChecksumMd5(),
6061
image.getChecksumGitHub(),
6162
image.getUrl(),
62-
image.getImageFormat()
63+
image.getImageFormat(),
64+
image.getDominantColor()
6365
);
6466
}
6567
csvPrinter.flush();

0 commit comments

Comments
 (0)