Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21545 ideas, 132412 comments, 2606687 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #13719: Image Converter

Written by brettalton the 25 Sep 08 at 20:57. Category: Multimedia. Related project: Nothing/Others. Status: New
Rationale
Ubuntu Linux is in need of a GTK/QT GUI for image conversions.

Imagemagick is a phenomenal CLI program for converting images into different formats, resizing, watermarks, etc.

For instance, a CLI command to convert PDF files into JPG, renaming the file from 'example.pdf' to 'example.jpg' is this easy:

for file in `ls *.pdf`; do convert $file 800x800 `echo $file | sed 's/\.pdf$/\.jpg/'`; done

Unfortunately, this is not suffice for computer users such as my family members. My mother, who is on dial-up and uses Windows XP has a nifty function to resize images via Outlook Express so that a 1MB photo is now only 100kB. It saves her lots of time and agony.

For work, my boss purchased some sort of Windows program for batch conversion. Needless to say he wasn't too happy when I came along and showed him Imagemagick.

I think a front-end, possibly in PyGTK would be wildly successful as a default-installed program.

The program would allow the selection of multiple images and image types to be converted into JPG, PDF, PNG, etc., with the ability to resize to a certain width or height, addition of a watermark in the corner of the photo, etc.

If this is not a possibility in the near future, as a first year Computer Science major, I would like to work on this if Ubuntu ever joins Google Summer of Code 2009.

68
votes
up equal down
Solution #1: Auto-generated solution of idea #13719
Written by brettalton the 25 Sep 08 at 20:57.
Ubuntu Brainstorm was updated in January 2009. Since the idea #13719 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
cheesehead (Brainstorm admin) wrote on the 25 Sep 08 at 21:49
Why is Gimp unsuitable? Sure, it's overkill for mere conversion...but it does the job quite well and it's already installed.

(Tip: Use gimp -dfs filename to get it to open slightly faster, and with fewer confusing options)

If you really want to create a imagemagick frontend, consider adding it to gThumb or Eye of Gnome...or just use zenity.

Xepra wrote on the 25 Sep 08 at 22:38
Nautilus scripts with Imagemagick should work for this if Gimp is too overkill...

Though, I think that there should be a ton of Nautilus scripts installed by default and easily enabled by users (such as mount iso) to make this option user-friendly.

gazilla wrote on the 25 Sep 08 at 22:49
I think you will find that, apart from the watermarking, gThumb will do all this for you.

brettalton wrote on the 26 Sep 08 at 02:09
GIMP isn't the most user friendly for beginner users or even intermediate users when it comes to batch processing. I've been formally trained with Photoshop and various image editing software for over three years - plus years of personal experience - and I still don't know how to batch convert via GIMP.

gThumb is quite good and it would be beneficial to have my request integrated with gThumb, however, I noticed immediately that it is unable to convert PDF to JPG.

What I should have stated is that I modelled my idea of an image converter with the program 'soundconvert'. You can add individual files or even folders and batch process the entire group, whether WMA, MP3, FLAC, etc. into a codec of your choice: ie OGG.

Its a simple program with a simple job, but it will have many uses for many people.
* people on dial-up that regularly need to compress multiple images
* web development companies (and others) that need to add watermarks onto their images quickly and easily
* people and companies that need to convert a batch of images from one format to another

I started this brainstorm due to two experiences:

1) A friend - who is a real estate agent - needed to send 30 images via e-mail but couldn't because the images were too large. So I downloaded GIMP for her (she was using Vista) and we had to compress the images one by one. Had a program like this existed, she could have compress all 30 images in one go.

2) My work purchased a piece of Windows software to do batch conversions. As I said in my original description, they weren't to impress that Linux was able to do this for free, but were also frustrated that imagemagick has no front end.

Lastly, as I stated, my mother is on dial-up and uses Windows/Outlook Express' option to compress images in order for her to send pictures to me. If I converted her to Ubuntu, she would not have this option.

I also think such a simple tool would be very very useful for video: e.g. a front-end to ffmpeg and mencoder. Again, there are tools out there for this sort of thing, but even for an aspiring Computer Scientist such as myself I can not figure it out.

dflock wrote on the 26 Sep 08 at 02:58
You might like to have a look at Phatch:

http://photobatch.stani.be/

It's a FOSS batch image manipulation front-end which uses Python and PIL to do the work, not ImageMagick, but it's pretty good.

Blurb from the site:
"Phatch is a simple to use cross-platform GUI Photo Batch Processor which handles all popular image formats and can duplicate (sub)folder hierarchies. Phatch can batch resize, rotate, apply perspective, shadows, rounded corners, ... and more in minutes instead of hours or days if you do it manually. Phatch allows you to use EXIF and IPTC tags for renaming and data stamping. Phatch also supports a console version to batch photos on webservers."

Jadd wrote on the 26 Sep 08 at 11:42
I'm pretty sure that Phatch does everything you described here. If a feature is missing, post your idea to that project.

brettalton wrote on the 29 Sep 08 at 00:41
Thank you very much for suggesting the program Phatch! I had no idea about its existence! Unfortunately it appears to be missing the feature of PDF to JPG, but I am now in contact with the developers!

I also found out, for anyone interested, that the reason why I was having problems with viewing some images that ImageMagick produced during the file conversion from PDF to JPG was because it kept the colour space in CMYK and did not convert it to RGB. Whoops!

stelt wrote on the 10 Dec 08 at 11:30
include vector:
There are many people looking for ways to convert from (but also to) SVG

wolterh wrote on the 6 Feb 09 at 20:23
Images can't be totally converted to svg for that format contains instructions for the computer to render lines, curves, and shapes, not pixel data.


Post your comment