[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
image manipulation on NMT
03-03-2009, 01:19 PM
Post: #1
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
Find all posts by this user
03-23-2009, 07:05 PM
Post: #2
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...
Find all posts by this user
03-23-2009, 09:06 PM
Post: #3
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)
Find all posts by this user
03-24-2009, 01:55 AM
Post: #4
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/"
export LDFLAGS="-L/path/to/library/lib/"

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
Find all posts by this user
03-24-2009, 09:12 AM
Post: #5
RE: image manipulation on NMT
thanks, I´ll give those versions a try
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NMT remote iPhone native app. racermonoid 390 125,776 03-06-2013 08:01 PM
Last Post: mindnever
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,020 01-19-2013 04:07 PM
Last Post: winfried_laane
  MediatankController 1.2 for iPhone - browse and control your NMT from your phone Niels Leenheer 424 273,223 11-27-2012 03:28 PM
Last Post: jedebe
Star [Apps] Bierdopje 4 NMT PHP script SilverViper 4 1,317 11-26-2012 04:57 PM
Last Post: Djiest
  MediatankController 1.0 for Adobe AIR - browse and control your NMT from your PC Niels Leenheer 232 165,902 05-13-2012 10:48 PM
Last Post: robertazimmerman
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,203 10-12-2011 01:04 AM
Last Post: spud
  Avidemux on NMT Cholsonic 0 1,218 09-26-2011 12:23 PM
Last Post: Cholsonic
  A ssh client for NMT A-100 Oleg 0 2,107 05-24-2011 05:54 PM
Last Post: Oleg
  default nmt theme and more rows bephi_perez 0 1,885 04-30-2011 07:56 PM
Last Post: bephi_perez
Bug Executing a script on the server from the NMT? johnk 6 3,190 02-21-2011 10:59 PM
Last Post: johnk

Forum Jump: