View Full Version : GD-lib alternative?
06-02-2005, 11:17 AM
well, i know you need gd-lib with jpeg support installed, but my host informs me that it is basically impossible to install it as it causes their administrative billing scripts (ModernBill) to malfunction, how I don't know, but that's what I am told...
What I'm writing this to ask, is if in anyway possible, can I modify pixelpost to use image magick as opposed to gd-lib; and if yes, how?
any input you guys can give me would be greatly greatly appreciated...
06-02-2005, 11:26 AM
i'm sure it's possible... but that would take up a HUGE re-write of code. and I'm sorry to say that definetely won't be on my behalf as I don't have the time ... nor do I have the skill I'm sure. if you plan on making this modification yourself then my answer is yeah - it's possible.
but although I don't like to say this... in my opinion your host should sort out their own problem rather than asking their paying clients to sort out theirs.
06-02-2005, 11:35 AM
its the very reason we spent the last week working this out for pixelpost users, or the wish-to-be-users
as for can it be done? I do not know...
06-02-2005, 01:16 PM
thanks for the quick reply, as for the hosting; in my case: beggars cant be choosers as i am getting a reseller account at no charge, but i still think they should treat me as any other customer asking for this feature (maybe not in as much as a timely manner; paying customers first, but still)...
i'll see what i can do with the imagemagick recode, and i'll post my results here, just in case anyone else might want to try the feat. right now, just from my basic knowledge of pixelpost, i'm thinking the only thing needing changing is the create thumbnail function, if that's it, thankfully it's just one PHP function which shouldn't be TOO hard to rewrite, but i didn't design the script so i'm going to have to look around a bit more to make sure -- if any of the developers could give me a few hints on to what i'd have to modify (not asking for the code rewrite, but just places the gd-lib is called) it'd be a great help
thanks again for the quick replies :)
06-02-2005, 02:03 PM
the main place you'll have to look about is admin/index.php -- it is within this file that images are uploaded and then, using Gd-lib, are resized into thumbnails as well.... this is what you need it for - if you are fairly comfortable with php i should imagine that using imagemagick instead is a possibility - but don't take my word for it - i just can't think of a reason it shouldn't be. i have no experience with imagemagick, i'm just assuming it works similarly to Gd-lib.
06-04-2005, 05:27 AM
other point would be in admin/info-section to identify ImageMagick and to tell that in the Admin/General Info-Section
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.