Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/084bd47413f9ad3ca14501c1318dfe5cc97da919?style=split&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

Implement foreground layer option

pull/702/head
Eric Reed 9 years ago
parent ea374c01b1
commit 084bd47413

@ -199,7 +199,14 @@ namespace Emby.Drawing.ImageMagick
return; return;
} }
// TODO Double opacity;
if (!Double.TryParse(options.ForegroundLayer, out opacity)) opacity = .4;
using (var pixel = new PixelWand("#000", opacity))
using (var overlay = new MagickWand(wand.CurrentImage.Width, wand.CurrentImage.Height, pixel))
{
wand.CurrentImage.CompositeImage(overlay, CompositeOperator.OverCompositeOp, 0, 0);
}
} }
private void AutoOrientImage(MagickWand wand) private void AutoOrientImage(MagickWand wand)

Loading…
Cancel
Save