deno.land / x / skia_canvas@0.5.8 / native / src / common.cpp

1
2
3
4
5
6
7
8
9
10
11
12
13
#include "include/common.hpp"
SkEncodedImageFormat format_from_int(int format) { switch (format) { case 0: return SkEncodedImageFormat::kPNG; case 1: return SkEncodedImageFormat::kJPEG; case 2: return SkEncodedImageFormat::kWEBP; }}
skia_canvas

Version Info

Tagged at
8 months ago