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

Function writeAPP0

static/webuploader/webuploader.js:5954–5970  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5952 }
5953
5954 function writeAPP0()
5955 {
5956 writeWord(0xFFE0); // marker
5957 writeWord(16); // length
5958 writeByte(0x4A); // J
5959 writeByte(0x46); // F
5960 writeByte(0x49); // I
5961 writeByte(0x46); // F
5962 writeByte(0); // = "JFIF",'\0'
5963 writeByte(1); // versionhi
5964 writeByte(1); // versionlo
5965 writeByte(0); // xyunits
5966 writeWord(1); // xdensity
5967 writeWord(1); // ydensity
5968 writeByte(0); // thumbnwidth
5969 writeByte(0); // thumbnheight
5970 }
5971
5972 function writeSOF0(width, height)
5973 {

Callers 1

JPEGEncoderFunction · 0.70

Calls 2

writeWordFunction · 0.70
writeByteFunction · 0.70

Tested by

no test coverage detected