NETPBM Package is nice... one little request!

tarch

Joined: 2003-04-29
Posts: 5
Posted: Tue, 2003-04-29 09:50

Hi,

I've come to use your pre-compiled netpbm package on a project I am developing right now... everything works very good except one thing...

is there anyway for you to precompile pbmtext and pbmlabel for me?

please e-mail me or something :smile:

sorry for putting this here... just don't know where else :smile:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2003-04-29 11:46

What platform is your system (i.e. operating system/architecure?)

 
tarch

Joined: 2003-04-29
Posts: 5
Posted: Tue, 2003-04-29 16:02
Quote:
What platform is your system (i.e. operating system/architecure?)

since I am not the server administrator I can't tell exactly, however the package of netpbm that works for me is:
netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel

so I guess I am running on RedHat 6.2 :grin: thanks in advance

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-04-29 21:57

Okay... grab them at http://www.beckettmw.com/downloads .
I'll leave them up for a day or two.

-Beckett (

)

 
tarch

Joined: 2003-04-29
Posts: 5
Posted: Wed, 2003-04-30 02:51
Quote:
Okay... grab them at http://www.beckettmw.com/downloads .
I'll leave them up for a day or two.

-Beckett (

)

thanks... I hope it works :smile:

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-04-30 03:09

Well let me know. :roll:

 
tarch

Joined: 2003-04-29
Posts: 5
Posted: Sat, 2003-05-03 20:44

hmm I just upload them then rename them to no extensions and call it up right?

ehhe I was about to try it :wink:

 
tarch

Joined: 2003-04-29
Posts: 5
Posted: Sat, 2003-05-03 21:41

ok I must be a total dope...

http://netpbm.sourceforge.net/doc/ppmlabel.html doesn't make sense... do I need ppmdraw?

here's the script I am trying to use to test it:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<?PHP
include "Settings.php";
Global $netpbm, $galdir;

$to_jpegtopnm = $netpbm . "/jpegtopnm";
$to_ppmtojpeg = $netpbm . "/ppmtojpeg";

$to_label = $netpbm . "/ppmlabel";

$image = $galdir."/bumper.jpg";
$newfile = $galdir."/bumper4.jpg";
$text = "I am label";

exec("$to_jpegtopnm "$image" | " .
"$to_label -text $text |" .
"$to_ppmtojpeg> "$newfile"");

#exec("$to_jpegtopnm "$image" | $to_ppmtojpeg > "$newfile"", $results, $status);

print $netpbm."<br>";
print $galdir."<br>";
print $image."<br>";
print $newfile."<br>";
?> </TD></TR></TABLE><!-- BBCode End -->

the commented exec line works fine... it's just for veryfying that everything is set correct :grin:

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sun, 2003-05-04 07:09

You should put questions like this in the *Customization Forum*. So move any further questions there.

Also, we have absolutely no idea what you're trying to do here, so you'll have to explain yourself a lot better if you want to get some responses. It sounds like you're having issues on specific other NetPBM programs... you might want to look to them for anwsers, rather than the Gallery forum.