All pictures should by default dump as unscaled for high DPI monitors in LINQPad
Options
I'm referring to this one:
https://forum.linqpad.net/discussion/comment/6309#Comment_6309
By default, pictures is dumped as scaled images, it's sometimes annoying to keep writing Util.ScaleModel.Unscaled.
Or at least provide a system global level option like this:
Comments
-
Would the following work for you, in My Extensions
static object ToDump (object input) { if (input is System.Drawing.Bitmap b) return Util.Image (b, Util.ScaleMode.Unscaled); return input; }
-
Hi @JoeAlbahari , it works for Bitmap, but it's not working for
Util.Image(byte[])
. When I using OpenCVSharp, it's been used pretty frequently. -
Hi @JoeAlbahari , can you see this again?