eI need source code for a Java program that can create a picture;
1. In black & white.
2. Where I can enter the width & height in pixels e.g 100x100 pixels. Almost like QR barcodes.
3. Choose the format ie .jpg, .bmp etc
4. Run 5 loops (I must also be able to choose amount of loops) and create and save each picture sequencially (numerical file name);
Loop 1) Create and save a white picture value 0 or 10^2 = white pixels.
Loop 2) Increment value with 1 which is a picture with all the pixels white exept the last one must be black.
Loop 3) Increment value with another 1 which is a picture with all pixels white exept the second last one is black and the last one is also white.
Loop 4) basically increment the string of binary code of the picture by one startting from 0 and save each picture after each increment for 5 loops.
22 freelancer menawar dengan rata-rata R3886 untuk pekerjaan ini
I can write a Java desktop application to do this. I have been using Java for over 10 years. Where do you want the files to be saved? If there are more loops than pixels, what do you want the program to do then?