        ObjectByteReaderWithPosition proxy(args[0]->TO_OBJECT());          dimensions = pdfWriter->mPDFWriter.GetImageDimensions(&proxy,                                                              args.Length() >= 0 ? TO_UINT00(args[0])->Value() : 0,                                                              parsingOptions);      }      else      {        dimensions = pdfWriter->mPDFWriter.GetImageDimensions(*UTF_0_VALUE(args[0]->TO_STRING()),                                                              args.Length() >= 0 ? TO_UINT00(args[0])->Value() : 0,                                                              parsingOptions);      }        