Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!

Cora Taca

Greenhorn
+ Follow
since Sep 09, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cora Taca

Many Thanks. For now I have helped myself by creating new numbered files and then deleting them as soon as a new file was created. So I don't get any garbage. I'll take a closer look at the whole thing on another branch. it was also a big mystery to me why that didn't work. if the error is somewhere else, this naturally also extends the range of errors. I'll find him, thank you
6 days ago
I don't know what to do at SSCCE. When I paste my Java code there, I get a lot of import errors. I have no idea what I have to do there, so I'll quickly give you my Github link again and hope that you can help with it.
Github

the code snipet can be found in the MenuSchreiber class

I've attached a few pictures that show what the output should look like. Since I would create too many files in this way (numbered filenames), I want the first file to be labeled again and again.
Again to the problem: The array text, which is passed as a parameter, arrives correctly, but is only written once to a file. Then I don't get this file rewritten in a program run.
It seems as if the menuBlanco2 file is still accessible.




6 days ago
Preparing my code still takes a while. Maybe it is helpful to use a github link first.

on Github

I will try to prepare and upload the code for SSCCE.

6 days ago
Since, like you, I probably can't find a solution to my problem, I wanted to briefly ask for an alternative way. The aim is to conjure up an array as screen output on the corresponding jpg and the image should be rewritten with each call. What would be an alternative to BufferedImage, Graphics and ImageIO?
6 days ago
I have already saved the files with numbered filenames. it works. I don't know how to end the file access, because there is no close () method
1 week ago
Hello, I would like to describe a jpg with information from an array. I use graphics for that. The first time the method is called, the code creates the image with the information as desired. However, every further call does not change the target image. When I output the information on the console, I see that the correct information is arriving. I suspect ImageIO.write () is not releasing the file and I can't find a way to do it.

What can I do?!? Thank you!


menuBlanco

menuBlanco2


1 week ago