CSequence seq = new CSequence(gw, gRect, gw.getPixMap().getPixelSize(),
CODEC_TYPE, CodecComponent.bestFidelityCodec,
StdQTConstants.codecLosslessQuality,
StdQTConstants.codecLosslessQuality,
KEY_FRAME_RATE, null, StdQTConstants.codecFlagUpdatePrevious);
ImageDescription imgDesc = seq.getDescription();
// attempt to loop through all frames, scaling to fit the first frame
for (int x = 0; x < frames; x++)
{
QDRect srcRect = new QDRect(0, 0, pics[x].getPictFrame().getWidthF(),