reset password
Author Message
nlopez22
Posts: 12
Posted 20:10 Feb 04, 2020 |

When I read the image data and print it, "null" appears before the magic number. Can get I get rid of it, or can I just ignore it?

kknaur
Posts: 540
Posted 20:58 Feb 04, 2020 |

Hmm, the first character should be the P followed by the 6.  It shouldn't be null.

dliang
Posts: 35
Posted 21:19 Feb 04, 2020 |

Hey man, are you using Scanner? Because that's what happened to me when I used Scanner. If yes, I suggest you use the input.read();

nlopez22
Posts: 12
Posted 21:24 Feb 04, 2020 |

I figured out what I was doing wrong, but thanks!