// equal and match:
{
final JPEGFormat[] f2s = new JPEGFormat[]{
new JPEGFormat(new Dimension(1, 1), 1000, Format.shortArray, 1.f, 2, 3),
(JPEGFormat) f1.clone(),
(JPEGFormat) f1.intersects(f1)
};
for (int i = 0; i < f2s.length; ++i)
{
JPEGFormat f2 = f2s[i];