Re^2: resampling an image using GD not working on Linuxby Discipulus (Abbot)
|on Dec 08, 2016 at 14:26 UTC||Need Help??|
thanks stefbv for the feedback!
If I understand you added a print for field 1 and 2 of the current photo and you got a zero for the heigth?
This is probably a big design error from my part: I get width and heigth of the original pic from exif tags. Tags are read during the build list phase: i probably need to add a fall back method (using GD) to get anyway sizes if exif tags ones are not found.
If using the same photo you launch the program with the -debug flag you also view the current photo array dumped to the screen as received by the draw_photo sub.
In the following output the photo shows a width of 2560 and an heigth of 1920: you get a zero with your photo?
I added an issue to the github project.
While i still have many problems (no photos displayed) on Ubuntu I setup a Centos with perl 5.10 and GD 2.44 picwoodpecker runs quite well..
thanks again for your time and sorry for the late reply (here is big holiday weekend)!
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.