P is for Practical | |
PerlMonks |
Re: PicWoodPecker -- a Tk program to choose and modify your photosby kcott (Archbishop) |
on Nov 30, 2016 at 21:56 UTC ( [id://1176989]=note: print w/replies, xml ) | Need Help?? |
G'day Discipulus, I put the code and POD in a file, made a small change to the shebang line, and ran it without any options:
So my first suggestion was to allow the -source path to be selected after the GUI starts if none was specified on the command line (given the POD says this can be changed from the GUI). Anyway, I tried again a couple of times using different paths with the -s option. Both gave an "ERROR creating a thumbnail ..." message as well as the "bad event type ..." message I noted above. I was able to independently open and view both images: they looked fine. I tried again with the -debug option you've supplied. Here's the entire output:
I also tried the widget demo. Both applications in the "Photos and Images" section worked without any issues. I gave up testing at this point; however, I don't mind testing some more if you want to suggest other options, provide a URL to some test image(s), or make code changes. In general, this does sound like a good idea. One further suggestion would be to allow other formats for the source images: adding Tk::PNG would be more useful for me personally (as an example, I searched my entire '~/local/doc/' tree for '*.jpg' files to test your GUI but only found 2; the same search for '*.png' files found 62). — Ken
In Section
Cool Uses for Perl
|
|