Timeline for How to generate TFW files for a list of images?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 25, 2013 at 9:57 | history | edited | BradHards | CC BY-SA 3.0 |
edited body
|
Jun 24, 2013 at 21:22 | vote | accept | Rodericus | ||
Jun 24, 2013 at 21:19 | vote | accept | Rodericus | ||
Jun 24, 2013 at 21:19 | |||||
Jun 24, 2013 at 20:28 | comment | added | BradHards | Can you please mark one of the answers as "ok" to close this out? Thanks. | |
Jun 24, 2013 at 13:06 | comment | added | Rodericus | Sorry that not has been able to review it before, I have enough work. Thank you very much, works perfectly | |
May 29, 2013 at 1:39 | comment | added | BradHards | Thanks for the indent hint. Looks like tabs don't copy too well... | |
May 29, 2013 at 1:38 | history | edited | BradHards | CC BY-SA 3.0 |
added 8 characters in body
|
May 28, 2013 at 16:44 | comment | added | whuber |
Thanks--I was not aware of that strange definition of range , but in retrospect it's clear from the details of your code so I should have been able to figure that out. Incidentally, don't your inner for-loop bodies need some more indentation?
|
|
May 23, 2013 at 20:30 | comment | added | BradHards | There are 8 fields - the name, and 7 values. range(6,8) produces [6, 7]. range(1,4) produces [1,2,3]. | |
May 23, 2013 at 14:43 | comment | added | whuber | Good--I didn't catch that. I was thrown off by the outputting of eight fields; I had mistakenly thought one of them was the file name. How do you get eight fields in addition to the file name? I find only seven. Did you actually open one of the output files to check your code? | |
May 23, 2013 at 14:12 | history | edited | BradHards | CC BY-SA 3.0 |
added 127 characters in body
|
May 23, 2013 at 14:06 | comment | added | BradHards | (1) I did notice, but somehow read the output as requiring a line with a - on it. Tried again. (2) It outputs separate files (since outfile gets open()ed inside the lines loop) - I did test this. | |
May 23, 2013 at 12:54 | comment | added | whuber |
(1) Did you notice the whitespace between the leading minus signs and the values: - 0.25 ? It would be bad to split those with a newline! (2) It seems you just write out to a single file which includes the intended names of the world files. What's needed is output to the worldfiles separately.
|
|
May 23, 2013 at 3:54 | history | edited | blah238 | CC BY-SA 3.0 |
fixed indentation, added syntax highlighting
|
May 23, 2013 at 2:01 | history | answered | BradHards | CC BY-SA 3.0 |