New answers tagged

1

First, let's look at the issue with your code as you have a couple of issues that are preventing it from working properly. Your first issue is that you are putting a newline character (\n) at the end of your file name. Is that how JPGs filenames are made? ;) Then, you are writing the JPG header to your file twice: once in your first if statement and then ...


Top 50 recent answers are included