LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-08-2009, 07:56 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
DICOM image file batch convert.


Hya,

Goal:
Convert numerous image files (DICOM format) into png (or whatever).

I have done:
Wrote a script using convert (Imagemagick).

What happened:
Some of them go well. Some do not. Entire black square shows up. No error message shows up.

I have found:
The ones which fails, display (imagemagick) also shows black square. Gimp can open, save as png. (Macintosh Graphic Converter also). But I have not found the way to batch convert.

www.imagemagick.org has several similar threads. They say "send these files to them" to reproduce problem. It is impossible for privacy reason.

My system:
Debian Lenny

Question:
Does anybody have a good idea?

Happy Penguins!
 
Old 02-08-2009, 09:03 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Must be a problem with imagemagick. If GIMP works try a batch processing plugin:
http://members.ozemail.com.au/~hodsond/dbp.html

Not sure if this supports it, but try:
http://www.graphicsmagick.org/
based on imagemagick, but less buggy (usually)

Last edited by H_TeXMeX_H; 02-08-2009 at 09:07 AM.
 
Old 02-08-2009, 09:17 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
For the record David's Batch Processor is available for Debian in the gimp-plugin-registry package.

You can also do batch processing directly from the command line.
 
  


Reply

Tags
converter, dicom, image



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert an Image folder to a PDF file mauran Linux - Software 8 12-01-2012 09:24 AM
batch file to convert every file in a directory with mencoder. toben Linux - Software 1 01-31-2008 05:28 PM
i want to convert .wav file into mp3 files in batch mode sparsh Linux - Software 6 11-20-2007 10:53 AM
How to convert a batch file(.bat) to script file(.sh) manas_sem Programming 4 06-28-2007 12:10 PM
Need help doing batch-convert with Gimp paulsm4 Linux - Software 0 01-09-2006 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration