MCPcopy Create free account
hub / github.com/TruthHun/BookStack / writeAPP0

Function writeAPP0

static/webuploader/webuploader.fis.js:5929–5945  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5927 }
5928
5929 function writeAPP0()
5930 {
5931 writeWord(0xFFE0); // marker
5932 writeWord(16); // length
5933 writeByte(0x4A); // J
5934 writeByte(0x46); // F
5935 writeByte(0x49); // I
5936 writeByte(0x46); // F
5937 writeByte(0); // = "JFIF",'\0'
5938 writeByte(1); // versionhi
5939 writeByte(1); // versionlo
5940 writeByte(0); // xyunits
5941 writeWord(1); // xdensity
5942 writeWord(1); // ydensity
5943 writeByte(0); // thumbnwidth
5944 writeByte(0); // thumbnheight
5945 }
5946
5947 function writeSOF0(width, height)
5948 {

Callers 1

JPEGEncoderFunction · 0.70

Calls 2

writeWordFunction · 0.70
writeByteFunction · 0.70

Tested by

no test coverage detected