From: <sh...@al...> - 2000-02-12 07:41:56
|
Ok, I figured out why I was sometimes getting unexpected end of file errors with unprint. I was generating the input files like this: 1) start gimp 2) load test image 3) print test image to file 4) quit gimp 5) try to unprint test image Nothing wrong with that unless step 4 follows too closely after step 3. Gimp-print removes its UI dialog before the actual printing is finished, and if the user quits before the file is finished being written, then the file will be cut short. Probably the best thing to do is to throw up a progess bar to explicitly show what's going on and then if the user still quits while the progess bar isn't yet at 100%, then, he deserves what he gets. Any of you GUI guys want to tackle this? Eric |