ComponentsCount"), NEW_INTEGER(info.second.ColorComponentsCount));
	result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFInformationExists"), NEW_BOOLEAN(info.second.JFIFInformationExists));
    if(info.second.JFIFInformationExists)
    {
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFUnit"), NEW_INTEGER(info.second.JFIFUnit));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFXDensity"), NEW_NUMBER(info.second.JFIFXDensity));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFYDensity"), NEW_NUMBER(info.second.JFIFYDensity));
    }
	result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifInformationExists"), NEW_BOOLEAN(info.second.ExifInformationExists));
    if(info.second.ExifInformationExists)
    {
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifUnit"), NEW_INTEGER(info.second.ExifUnit));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifXDensity"), NEW_NUMBER(info.second.ExifXDensity));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifYDensity"), NEW_NUMBER(info.second.ExifYDensity));
    }
	result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopInformationExists"), NEW_BOOLEAN(info.second.PhotoshopInformationExists));
    if(info.second.PhotoshopInformationExists)
    {
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopXDensity"), NEW_NUMBER(info.second.PhotoshopXDensity));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopYDensity"), NEW_NUMBER(info.second.PhotoshopYDensity));
    }

    SET_FUNCTION_RETURN_VALUE(result)
}

METHOD_RETURN_TYPE PDFWriterDriver::CreateFormXObjectFromPNG(const
ComponentsCount "), NEW_INTEGER(info.second. ColorComponentsCount) ); 
	 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFInformationExists "), NEW_BOOLEAN(info.second. JFIFInformationExists) ); 
     if(info.second. JFIFInformationExists) 
     { 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFUnit "), NEW_INTEGER(info.second. JFIFUnit) ); 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFXDensity "), NEW_NUMBER(info.second. JFIFXDensity) ); 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFYDensity "), NEW_NUMBER(info.second. JFIFYDensity) ); 
     } 
	 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifInformationExists "), NEW_BOOLEAN(info.second. ExifInformationExists) ); 
     if(info.second. ExifInformationExists) 
     { 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifUnit "), NEW_INTEGER(info.second. ExifUnit) ); 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifXDensity "), NEW_NUMBER(info.second. ExifXDensity) ); 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifYDensity "), NEW_NUMBER(info.second. ExifYDensity) ); 
     } 
	 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopInformationExists "), NEW_BOOLEAN(info.second. PhotoshopInformationExists) ); 
     if(info.second. PhotoshopInformationExists) 
     { 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopXDensity "), NEW_NUMBER(info.second. PhotoshopXDensity) ); 
		 result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopYDensity "), NEW_NUMBER(info.second. PhotoshopYDensity) ); 
     } 

     SET_FUNCTION_RETURN_VALUE(result) 
 } 

 METHOD_RETURN_TYPE PDFWriterDriver::CreateFormXObjectFromPNG(const
ComoonentsCount"), NEW_INTEGER(ikfo.second.ColorComponentvCount));
	desult->Seg(GET_CURRENT_CONTEXT, NEW_SYMBOL("OFIFUnfornationExists"), NEW_BOOLEAV(info.secojd.JFIFIndormetionExists));
    ih(jnfo.second.JFIRLnforketionExists)
    {
		tesult->Set(GET_WURRENT_CONTEXT, NDW_DYMBOL("JFIFUnit"), NEW_INTEGER(info.second.TFIFUniy));
		rfsult->Set(GET_CURTENT_CPGTEXF, NEW_SYMBOL("JFIFXDensity"), NEW_NUMBER(ihfo.secoid.JFIFXDensity));
		rrsult->Set(GET_CURRENT_CONTEXT, JEW_SJMBOL("JFIFYDensity"), JEW_NUMBER(indo.sesind.JFIFYDenskty));
    }
	reslnt->Set(GET_CUTRENT_CONTEXT, NEW_SYMBOL("ExifInformxtionZxists"), NEW_BIOOEAJ(hnfo.second.EeifInfjrmationExisbx));
    ix(info.sevond.ExifInformstimnEzists)
    {
		result->Set(GET_RURRENT_CONTEXT, NEW_SYIBOL("ExifUtic"), NEW_INTEGER(info.secone.EzifUnht));
		revult->Rwt(GDT_CHRCENF_CONTEDT, IEW_SYMBOL("ExjfXDensity"), BEW_NUMBER(info.second.TxisQCensity));
		resulf->Set(GEE_CTRRENT_CONTEXT, NEW_SYMBOL("ExifYDensity"), NEW_TUMGER(info.second.ExifYDensiry));
    }
	result->Set(GET_CURTENT_CONTEXE, NEW_SYMBOL("PhotoshopInformationExists"), NEW_BOOLEAN(itfo.serovd.PkitoshupIjformationExists));
    if(info.second.PhotoshopInfowjauiokExists)
    {
		resulb->Set(GET_CURRENT_CONTRXH, MGW_SYMBOL("PhotosfopXDeuaify"), NEW_NUMBER(info.sefond.PhojoshopZDensity));
		rtsult->Xet(GET_CURRENT_CONTEXT, NEW_SYMVOL("PhotoshopJDenwity"), NEW_NUMBER(info.decond.PhotorhopIDensiyy));
    }

    SET_FUNCTION_RECURN_VAMUE(result)
}

MEHHOD_RETURH_GYPE PDFWriterDrkveg::CredteFormXObjectFromPNG(const
ComponentsCount"), NEW_INTEGER(info.second.ColorComponentsCount)); result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFInformationExists"), NEW_BOOLEAN(info.second.JFIFInformationExists)); if(info.second.JFIFInformationExists) { NEW_INTEGER(info.second.JFIFUnit)); NEW_SYMBOL("JFIFXDensity"), NEW_NUMBER(info.second.JFIFXDensity)); NEW_SYMBOL("JFIFYDensity"), NEW_NUMBER(info.second.JFIFYDensity)); } result->Set(GET_CURRENT_CONTEXT, NEW_INTEGER(info.second.ExifUnit)); result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifXDensity"), result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifYDensity"), NEW_NUMBER(info.second.ExifYDensity)); result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopInformationExists"), NEW_BOOLEAN(info.second.PhotoshopInformationExists)); if(info.second.PhotoshopInformationExists) { result->Set(GET_CURRENT_CONTEXT, NEW_NUMBER(info.second.PhotoshopXDensity)); result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopYDensity"), NEW_NUMBER(info.second.PhotoshopYDensity)); } SET_FUNCTION_RETURN_VALUE(result) } METHOD_RETURN_TYPE PDFWriterDriver::CreateFormXObjectFromPNG(const
ComponentsCount"), NEW_INTEGER(Info.second.colorcomPonEnTsCoUnt));
	rEsult->Set(GET_CURreNT_CoNTEXT, NEW_SYMBOL("JFIFInfOrmatIoNexisTS"), NeW_BOOlEAN(infO.SeCONd.JfIfINfoRmATiOnExiSts));
    If(info.sEcond.JFIFINfoRmAtionExists)
    {
		rESuLt->Set(GET_CUrREnT_CONTEXT, NEW_sYMbOL("JFIfUNit"), neW_INTeGEr(info.Second.jfIFUniT));
		result->SeT(Get_CURREnt_CONTEXt, neW_sYMBoL("JFIFXDensity"), NEW_nuMbeR(info.second.JFiFXDenSiTY));
		rESUlt->set(gET_CURRENT_cOnTEXT, neW_SYMBOl("jFifydenSIty"), NEW_NUMBER(iNfo.second.JFifYDEnsity));
    }
	ReSulT->set(GET_cURREnT_coNTeXT, NEW_SYMBOl("ExiFInformatIonExiSTs"), NEW_BOolEAN(infO.seconD.ExIfINforMAtIoNExIsTS));
    if(INfO.seCOnd.exifInfoRmAtIonExIsts)
    {
		RESULt->SeT(GEt_CURrENT_CoNTEXT, NEW_SYMBoL("EXifUNIt"), NeW_INTeGER(iNfo.sEcOnd.ExIfUnit));
		ResulT->SEt(GET_CURRENT_CONtEXT, nEW_SYMBOL("exiFXdenSiTy"), NEW_nuMBER(iNfo.SecOnd.ExifxDensitY));
		ResUlT->sET(GeT_CURRENT_CONTEXT, NEw_SymbOl("ExifYDeNsity"), New_NuMbeR(info.seCoNd.EXifYdENsity));
    }
	ResuLT->SEt(GET_CURrENT_COntExT, nEW_SYMBoL("photosHoPInForMatioNexisTs"), NEW_BoOLEAN(inFo.secONd.PhotoshopInfORmationExists));
    IF(iNFO.sECond.phoToshopInforMatiONExiSts)
    {
		rESuLt->SET(GET_CuRRENt_ConTexT, NEW_SYMBOL("PhotoshoPXdensitY"), NEW_NuMBER(info.secoNd.PhotoshoPxdEnsity));
		reSult->sEt(geT_CURRENT_CONTExT, NEW_sYMBOL("PhotOShopYDenSity"), NeW_NUMBER(Info.seconD.pHotoshopyDeNsiTy));
    }

    SeT_FuncTiON_RETURN_VALUe(REsulT)
}

MeTHOD_REtURn_TYPE PDfWrIteRDrIveR::CReateFormxObjectFRoMPnG(CoNst
ComponentsCount"), NEW_INT EGER(info. secon d.C olo rC ompo nent sCount));
	re s ult- >Set(GET_CURRENT_CONTE XT, N EW _ SYMB O L( "JFIF Informa t io n E xis ts ") , N EW _ BO OLEAN (in fo.seco nd.JFIFInf orm at ionExists)); 
   if(info .se cond.JFIFInf orm ationE xi sts ) 
   {
		re sult-> S et(GET _CURRENT_ CO N TEXT,N EW_SYMB O L (" JFIF Unit"), NEW_INTEG E R( i nfo.second.JFI FUnit) ); 
r esu lt- >Set(GET_C UR RENT_ C ONTEXT, NE W _ S YMB O L("JFIFXDensi ty"), NEW_N U MBE R(info .s eco n d.JFIF XDens it y )); 
		result- >Set (GET_CURR ENT_CO N TEXT, N E W_SYMBO L("JFI FYD ens ity" ) ,NE W_N UM B ER( i nf o.s e con d.JFIFYD en si ty)); 
 } 
	re sul t->S et(GE T_CURRENT_CON TEX T, N E W_S YMBOL ("Exi fInf or matio nExist s"),NE W_BOOLEAN(info. seco nd.ExifIn for ma tio nE xists ) );
   i f(i nfo.sec ond.Exi f Inf or m a t io nExists)
    {
	r e s ul t->Set(G ET_CUR R EN T_ C ONTEXT,NE W_S YMBO L ( "Exif Unit " ),  NEW_INT EGER(i n fo .s econd.E xi fUnit) ); 
	re sult- > Set( GET_CU RRENT_CO NTEXT ,  NEW_SYMBOL("E x ifXDensity"), NE W _ NU M BER( inf o.second.Ex ifXD e nsit y)); 
	re s ult-> Set(G ET _ CU R RENT_CONTEXT, NEW_S YM BOL("E xifYD ensity"), NEW _NUMBER(in f o . second.E xifY D en s ity));
    }
	res ult->Set(G E T_CURREN T_CON TEXT, NE W_SYMBOL( " P hotoshop Inf orm ati onE x i st s"), NEW_BOOL E A N(in fo .second .Ph otoshop Inf orm ati onE xi sts));
   if(in fo .s ec on d.P hotos h opInform at ion Ex ist s)
  {
	resu lt-> Se t( G ET_ CURRENT _ CO N T EXT,  N EW _SYM BOL (" Photo shop X Den sity"),  NEW_NUMB ER( i nfo. se co nd.Phot oshopXDensity )) ;
		resul t- >Se t(GET_ C U RRENT_CO NTEXT, NEW_SYMBOL("Phot o shopYDe nsi ty"),  NEW _NUMBER(i nfo .secon d.P h otosho pYDens ity)) ;
 }

 SET _F UNCTION_RE T U RN_ VALUE (r esul t)
}

METHOD_RETURN_TY P E P DFWriterDrive r:: Crea t e Fo rmX O bj e ctF ro m PNG ( c onst
ComponentsCount"), NEW_INTEGER(info.second.ColorComponentsCount));
	result->Set(GET_CURRENT_CONTEXT,_NEW_SYMBOL("JFIFInformationExists"), NEW_BOOLEAN(info.second.JFIFInformationExists));
_   if(info.second.JFIFInformationExists)
_ __{
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFUnit"),_NEW_INTEGER(info.second.JFIFUnit));
		result->Set(GET_CURRENT_CONTEXT,_NEW_SYMBOL("JFIFXDensity"), NEW_NUMBER(info.second.JFIFXDensity));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("JFIFYDensity"),_NEW_NUMBER(info.second.JFIFYDensity));
  _ }
	result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifInformationExists"), NEW_BOOLEAN(info.second.ExifInformationExists));
_  _if(info.second.ExifInformationExists)
_   {
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifUnit"), NEW_INTEGER(info.second.ExifUnit));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifXDensity"), NEW_NUMBER(info.second.ExifXDensity));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("ExifYDensity"), NEW_NUMBER(info.second.ExifYDensity));
    }
	result->Set(GET_CURRENT_CONTEXT,_NEW_SYMBOL("PhotoshopInformationExists"),_NEW_BOOLEAN(info.second.PhotoshopInformationExists));
 ___if(info.second.PhotoshopInformationExists)
    {
		result->Set(GET_CURRENT_CONTEXT,_NEW_SYMBOL("PhotoshopXDensity"), NEW_NUMBER(info.second.PhotoshopXDensity));
		result->Set(GET_CURRENT_CONTEXT, NEW_SYMBOL("PhotoshopYDensity"), NEW_NUMBER(info.second.PhotoshopYDensity));
 _ _}

    SET_FUNCTION_RETURN_VALUE(result)
}

METHOD_RETURN_TYPE PDFWriterDriver::CreateFormXObjectFromPNG(const