Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
if(FF_GetImageWidth() == 0) FF_ErrorBreak("kein Bild geladen");
var h = FF_GetImageHeight() / 30;
TypeExif(10,10,h,0,255,255);
function TypeExif(x,y,h,r,g,b)
{
var w,ws=0,yp=y,txt;
var co=(b<<16)+(g<<8)+r;
txt = "Belichtungszeit: ";
w = FF_GetTextWidth(txt,h,400,false,false,"Arial");
if(w > ws) ws = w;
FF_DrawText(txt,x,yp,h,0,400,false,false,"Arial",co);
yp += h;
txt = "Blende: ";
w = FF_GetTextWidth(txt,h,400,false,false,"Arial");
if(w > ws) ws = w;
FF_DrawText(txt,x,yp,h,0,400,false,false,"Arial",co);
yp = y;
txt = FF_GetExifTagAdvanced("FNumber");
FF_DrawText(txt,x+ws,yp,h,0,400,false,false,"Arial",co);
yp += h;
txt = FF_GetExifTagAdvanced("ExposureTime");
FF_DrawText(txt,x+ws,yp,h,0,400,false,false,"Arial",co);
}
Gruß
if(FF_GetImageWidth() == 0) FF_ErrorBreak("kein Bild geladen"
var h = FF_GetImageHeight() / 30;
TypeExif(10,10,h,0,255,255);
function TypeExif(x,y,h,r,g,b)
{
var w,ws=0,yp=y,txt;
var co=(b<<16)+(g<<8)+r;
txt = "Belichtungszeit: ";
w = FF_GetTextWidth(txt,h,400,false,false,"Arial"
if(w > ws) ws = w;
FF_DrawText(txt,x,yp,h,0,400,false,false,"Arial",co);
yp += h;
txt = "Blende: ";
w = FF_GetTextWidth(txt,h,400,false,false,"Arial"
if(w > ws) ws = w;
FF_DrawText(txt,x,yp,h,0,400,false,false,"Arial",co);
yp = y;
txt = FF_GetExifTagAdvanced("ExposureTime"
FF_DrawText(txt,x+ws,yp,h,0,400,false,false,"Arial",co);
yp += h;
txt = FF_GetExifTagAdvanced("FNumber"
FF_DrawText(txt,x+ws,yp,h,0,400,false,false,"Arial",co);
}