} else if (marker == JpegConstants.JFIF_MARKER) {
result.add(new JfifSegment(marker, segmentData));
} else if (Arrays.binarySearch(sofnSegments, marker) >= 0) {
result.add(new SofnSegment(marker, segmentData));
} else if (marker == JpegConstants.DQT_MARKER) {
result.add(new DqtSegment(marker, segmentData));
} else if ((marker >= JpegConstants.JPEG_APP1_MARKER)
&& (marker <= JpegConstants.JPEG_APP15_MARKER)) {
result.add(new UnknownSegment(marker, segmentData));
} else if (marker == JpegConstants.COM_MARKER) {
result.add(new ComSegment(marker, segmentData));