fatkatie Posted February 7, 2017 Share Posted February 7, 2017 I have a site that uses this to move a dial on a gauge image. It works some places (browsers/servers), and not others. (Call is contained within an older 3rd party module/program PHPDialGauge) How do you go about debugging something like this. The resource just 'disappears' on the call to imagerotate(). It acts more link eraseResource($needleImage). It's not a memory problem. Each server uses at least php 5.5. No 7's. The php doc site lists bugs and post wonder fixes. This proves difficult to deal with, so is there a module that deals with images and is worth installing and using? Is there another way? I feel like if I get this working now it's just sitting there waiting to crump. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/303128-how-do-you-debug-imagerotate/ Share on other sites More sharing options...
Solution Jacques1 Posted February 7, 2017 Solution Share Posted February 7, 2017 I would consider using a vector graphic (i. e. SVG) where you can actually rotate the needle with a parameter. This will be a lot less painful than raster image manipulation. Quote Link to comment https://forums.phpfreaks.com/topic/303128-how-do-you-debug-imagerotate/#findComment-1542435 Share on other sites More sharing options...
fatkatie Posted February 7, 2017 Author Share Posted February 7, 2017 Ok, off we go. Get ready for the SVG questions. Thanks. Off to ddgo. Quote Link to comment https://forums.phpfreaks.com/topic/303128-how-do-you-debug-imagerotate/#findComment-1542436 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.