User(s) browsing this thread: 1 Guest(s)
|
image manipulation on NMT
|
|
03-03-2009, 01:19 PM
|
|||
|
|||
|
image manipulation on NMT
Hi,
i'am currently building a media center completly running on the NMT. And I still search for a way to resize and manipulate images like covers. Is here anyone with a PHP5 with GD lib support? Or has anyone cross compiled imagemagick? That would help me a lot if i can get a compiled PHP5+GD or imagemagick. Zenani |
|||
|
03-23-2009, 07:05 PM
|
|||
|
|||
|
RE: image manipulation on NMT
I cross-compiled ImageMagick by now. Problem is I can´t get jpeg,tiff,png to work cause I don´t know how to pass along the path to libjeg etc. for the compile.
For the conversion check out my PhotoTank alpha at http://www.popcornforum.de/showthread.php?tid=7623 I used another little application there... But once you tested you´ll notice it is f*#@/#ng slow. I doubt that ImageMagick will be significantly faster though since it is also based on libjpeg, I tested a bmp and it was slow too. Though we would have some more features with it... |
|||
|
03-23-2009, 09:06 PM
|
|||
|
|||
|
RE: image manipulation on NMT
I used this howto http://www.networkedmediatank.com/showth...p?tid=8342
There you can see where to copy the files of compiled libs. (auf gut deutsch: da steht wie es bei zlib geht, bei andren libs gehts genauso) |
|||
|
03-24-2009, 01:55 AM
|
|||
|
|||
|
RE: image manipulation on NMT
If you have your cross compile environment setup already(it appears so) then all you should need to pass along the library information is a few environment variables
Code: export CFLAGS="-I/path/to/library/include/"Re-run the configure script after setting those variables. The CFLAGS are added to the compiler flags, LDFLAGS are added to the linker(i think thats how it works). Usually if i need to cross compile multiple librarys, to eventually be statically linked together, I run the configure scripts for with "--prefix=/some/common/dir", and point the CFLAGS/LDFLAGS at that directory. Hope it helps journey4712 Automated TV Downloads | On-Demand Network Shares | Faster PHP (lighttpd+fastcgi+apc) PCH-A100 | PCH-C200 | XBMC HTPC | Sharp Aquos 42D62U | Logitech Z-5500 |
|||
|
03-24-2009, 09:12 AM
|
|||
|
|||
|
RE: image manipulation on NMT
thanks, I´ll give those versions a try
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[+]](images/collapse_collapsed.gif)
