English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 31 January 2018, 11:04   #1
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 286
Command line/batch graphics editor

I'm looking for a command line graphics editing tool - has to work on 68020 without FPU. I need the following features:

- write a one-line text using specified font/color, starting from specified (in pixels) location to the preexisting image; text will be provided by a shell script
- rotate image by 90 degrees

My use case: I have a script running early in the Startup-Sequence, which determine the hardware configuration - if it has changed (for example due to changed UAE settings, or transferring the system from UAE to real Amiga), it adapts the system to the new configuration. I would like to extend it to also prepare some graphics for the system, based on the HW configuration.

Is there anything like this available for AmigaOS 68k? I was looking on Aminet, but so far no results.
Romanujan is offline  
Old 31 January 2018, 13:25   #2
gulliver
BoingBagged

 
Join Date: Aug 2007
Location: The South of nowhere
Age: 40
Posts: 1,745
If you want something as complex as that, I can only recomend POVRay. It will certainly do much more than what you ask for though, but can certainly be tweaked to almost any weird request you may have.
gulliver is offline  
Old 31 January 2018, 13:40   #3
DannyBoy
Registered User
 
Join Date: Jul 2013
Location: Helsinki / Finland
Age: 37
Posts: 90
I think I did something like you described long time ago with ImageMagick. See this link for Amiga build http://amiga.sourceforge.net/ImageMagick/
DannyBoy is offline  
Old 31 January 2018, 15:35   #4
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Quote:
Originally Posted by DannyBoy View Post
indeed some powerfull all in one package: ImageMagick - Text to Image Handling.
emufan is offline  
Old 31 January 2018, 18:12   #5
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 286
@gulliver - loading graphics file (possibly using datatype), writing a text on the image and saving the result is complicated???

@DannyBoy, @mufan - I can't get it to work - it can't use anything I have in FONTS:... even topaz does not seem to work :/

Besides, it looks the software is of really poor quality, the binaries (CLI commands) are 4 MB size each (and I want to be able to run them even on low-end configurations with not much RAM available), they use XML for configuration (why an image converter needs XML for its configuration?).

I did find some converters/scalers on Aminet (like iBatch.lha), but none of them seems to be able to embed a text into an image.
Romanujan is offline  
Old 31 January 2018, 18:41   #6
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
ImageMagick comes from the linux/unix world - so things are different there.
it is a complex piece of software, hence the size.
I have to check the font support on my own, perhaps it does only work
with some kinde of truetype fonts.

there is another*nix package, with those ppm/pbm tools - Netpbm. have to check,
maybe some kind of text->image tools included.

#1) pbmtext seems to be the tool in question
it does use some built-in font or those BDF fonts from the unix world.

m68k version from 2007 does include it too - 29kb filesize

tools included to convert your amiga images: ilbmtoppm / ppmtoilbm.

if you succeed with pbmtext, attach an example image
and the command lines you where using. so we have a working example

Last edited by emufan; 31 January 2018 at 18:59.
emufan is offline  
Old 31 January 2018, 18:59   #7
Romanujan
Registered User
 
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 286
Amiga ports of Unix software are usually a complete crap, slow as hell, they require huge stack, lots of memory, and they often don't work well with the system - I avoid them as I only can.

NetPBM is not a good choice too: -font selects a font that you supply yourself either as an X Window System BDF (Bitmap Distribution Format) file or as a PBM file in a special form - I don't use BDF or PBM fonts, I use either Amiga format fonts or (sometimes) TrueType fonts, installed using ttflib.
Romanujan is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line question brolly support.WinUAE 8 18 April 2011 12:11
is there new command line ? turrican3 support.WinUAE 1 15 April 2007 13:21
Command line WinUae? resle support.WinUAE 1 02 December 2005 13:13
command line? Drake1009 support.WinUAE 7 14 August 2004 18:17
Command Line. ruttolibero support.WinUAE 1 25 July 2003 16:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.09095 seconds with 15 queries