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

Function writeAPP0

static/webuploader/webuploader.custom.js:5965–5981  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5963 }
5964
5965 function writeAPP0()
5966 {
5967 writeWord(0xFFE0); // marker
5968 writeWord(16); // length
5969 writeByte(0x4A); // J
5970 writeByte(0x46); // F
5971 writeByte(0x49); // I
5972 writeByte(0x46); // F
5973 writeByte(0); // = "JFIF",'\0'
5974 writeByte(1); // versionhi
5975 writeByte(1); // versionlo
5976 writeByte(0); // xyunits
5977 writeWord(1); // xdensity
5978 writeWord(1); // ydensity
5979 writeByte(0); // thumbnwidth
5980 writeByte(0); // thumbnheight
5981 }
5982
5983 function writeSOF0(width, height)
5984 {

Callers 1

JPEGEncoderFunction · 0.70

Calls 2

writeWordFunction · 0.70
writeByteFunction · 0.70

Tested by

no test coverage detected