go2hx

manual

github

Module stdgo.image.jpeg has compilation errors, please do not use:

 ERROR  stdgo/_internal/image/jpeg/Jpeg_T_decoder_static_extension.hx:745: characters 13-67

 745 |             _internal.image.internal.imageutil.Imageutil_drawYCbCr.drawYCbCr(_img, _bounds?.__copy__(), _d._img3, _bounds.min?.__copy__());
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     | Type not found : _internal.image.internal.imageutil.Imageutil_drawYCbCr

 ERROR  stdgo/image/jpeg/Jpeg.hx:122: characters 9-132

 122 |         { _buf : haxe.ds.Vector.fromArrayCopy([for (i in obj._buf) i]), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     | Object requires fields: _3, _2, _1, _0

 ERROR  stdgo/image/jpeg/Jpeg.hx:122: characters 99-111

 122 |         { _buf : haxe.ds.Vector.fromArrayCopy([for (i in obj._buf) i]), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                                   ^^^^^^^^^^^^
     | { _nUnreadable : stdgo.GoInt, _j : stdgo.GoInt, _i : stdgo.GoInt, _buf : haxe.ds.Vector<stdgo.GoUInt8> } has extra field _nUnreadable

 ERROR  stdgo/image/jpeg/Jpeg.hx:122: characters 86-88

 122 |         { _buf : haxe.ds.Vector.fromArrayCopy([for (i in obj._buf) i]), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                      ^^
     | { _nUnreadable : stdgo.GoInt, _j : stdgo.GoInt, _i : stdgo.GoInt, _buf : haxe.ds.Vector<stdgo.GoUInt8> } has extra field _j

 ERROR  stdgo/image/jpeg/Jpeg.hx:122: characters 73-75

 122 |         { _buf : haxe.ds.Vector.fromArrayCopy([for (i in obj._buf) i]), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                         ^^
     | { _nUnreadable : stdgo.GoInt, _j : stdgo.GoInt, _i : stdgo.GoInt, _buf : haxe.ds.Vector<stdgo.GoUInt8> } has extra field _i

 ERROR  stdgo/image/jpeg/Jpeg.hx:122: characters 11-15

 122 |         { _buf : haxe.ds.Vector.fromArrayCopy([for (i in obj._buf) i]), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |           ^^^^
     | { _nUnreadable : stdgo.GoInt, _j : stdgo.GoInt, _i : stdgo.GoInt, _buf : haxe.ds.Vector<stdgo.GoUInt8> } has extra field _buf

 ERROR  stdgo/image/jpeg/Jpeg.hx:120: lines 120-123

 120 |     function get__bytes():stdgo.Tuple.Tuple4<haxe.ds.Vector<std.UInt>, StdTypes.Int, StdTypes.Int, StdTypes.Int> return {
 121 |         final obj = this._bytes;
 122 |         { _buf : haxe.ds.Vector.fromArrayCopy([for (i in obj._buf) i]), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
 123 |     };
     |
     | { _nUnreadable : stdgo.GoInt, _j : stdgo.GoInt, _i : stdgo.GoInt, _buf : haxe.ds.Vector<stdgo.GoUInt8> } should be stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int>

 ERROR  stdgo/image/jpeg/Jpeg.hx:127: characters 38-42

 127 |             { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                      ^^^^
     | stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int> has no field _buf

 ERROR  stdgo/image/jpeg/Jpeg.hx:127: characters 34-42

 127 |             { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                  ^^^^^^^^
     | You can't iterate on a Dynamic value, please specify Iterator or Iterable

 ERROR  stdgo/image/jpeg/Jpeg.hx:127: characters 89-91

 127 |             { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                         ^^
     | stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int> has no field _i

 ERROR  stdgo/image/jpeg/Jpeg.hx:127: characters 102-104

 127 |             { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                                      ^^
     | stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int> has no field _j

 ERROR  stdgo/image/jpeg/Jpeg.hx:127: characters 125-137

 127 |             { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                                                             ^^^^^^^^^^^^
     | stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int> has no field _nUnreadable

 ERROR  stdgo/image/jpeg/Jpeg.hx:250: characters 34-38

 250 |         { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                  ^^^^
     | Null<stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int>> has no field _buf

 ERROR  stdgo/image/jpeg/Jpeg.hx:250: characters 30-38

 250 |         { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                              ^^^^^^^^
     | You can't iterate on a Dynamic value, please specify Iterator or Iterable

 ERROR  stdgo/image/jpeg/Jpeg.hx:250: characters 85-87

 250 |         { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                     ^^
     | Null<stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int>> has no field _i

 ERROR  stdgo/image/jpeg/Jpeg.hx:250: characters 98-100

 250 |         { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                                  ^^
     | Null<stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int>> has no field _j

 ERROR  stdgo/image/jpeg/Jpeg.hx:250: characters 121-133

 250 |         { _buf : ([for (i in obj._buf) i] : stdgo.GoArray<stdgo.GoUInt8>), _i : obj._i, _j : obj._j, _nUnreadable : obj._nUnreadable };
     |                                                                                                                         ^^^^^^^^^^^^
     | Null<stdgo.Tuple4<haxe.ds.Vector<UInt>, Int, Int, Int>> has no field _nUnreadable