The book process continues

Despite my lack of posting here in the last couple of weeks, and the death of my laptop (which I believe is traditional when you write a book), the book process continues. This is the first time I've written a book, and the process itself is pretty interesting. At the moment I'm looking through edits from the copy editor for the first chapter (previously this chapter has survived technical review, a review from the acquisitions editor, and review from the project manager). The copy editor is providing comments on my writing style and how to make the chapter easier to read. I guess that I could take the comments as hurtful, but to be honest it's fun. It's kinda like having a personal coach trying to teach you how to write better. I like that. One interesting thing that has happened is that the chapter title was tweaked to "be more active", which I like. I guess that means some of the chapter descriptions I have already posted might actually be wrong. Oh well.

Continue ReadingThe book process continues

ImageMagick bug?

Subject: imagemagick: If the trailing character of a montage label option is a percent sign, the output image is erroneous Package: imagemagick Version: 6:6.2.3.6-3 Severity: normal *** Please type your report below this line *** Executing this command line: montage -geometry +10+10 -tile 2 -label "-sepia-tone 15%%" \ ImageMagick_Chapter5_Insert20a.jpg -label "-sepia-tone 35%%" \ ImageMagick_Chapter5_Insert20b.jpg -label "-sepia-tone 55%%" \ ImageMagick_Chapter5_Insert20c.jpg -label "-sepia-tone 75%%" \ ImageMagick_Chapter5_Insert20d.jpg ImageMagick_Chapter5_Insert20.jpg Whereas this command line: montage -geometry +10+10 -tile 2 -label "-sepia-tone 15%% " \ ImageMagick_Chapter5_Insert20a.jpg -label "-sepia-tone 35%%" \ ImageMagick_Chapter5_Insert20b.jpg -label "-sepia-tone 55%%" \ ImageMagick_Chapter5_Insert20c.jpg -label "-sepia-tone 75%%" \ ImageMagick_Chapter5_Insert20d.jpg ImageMagick_Chapter5_Insert20.jpg Produces the expected output: -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages imagemagick depends on: ii libmagick6 6:6.2.3.6-3 Image manipulation library imagemagick recommends no packages. -- no debconf information

Continue ReadingImageMagick bug?

ImageMagick book – Chapter 4: Other ImageMagick Tools

It's been a while since I wrote one of these chapter summaries here, and the reason for that is that I've been busy writing chapters, attending conferences, caring for a sick wife, and stuff like that. The book is still pretty much on track (I'm currently running about a week behind on the chapter deadlines, but I think I can have the whole thing done by the overall deadline). Chapter 4 is an interesting one as it discusses all the tools which aren't going to be covered elsewhere in the book. The reality of ImageMagick is that 95% of the functionality is exposed in the convert command, so you can discuss most things there. There are however some cool things which happen in commands of their own, and those are the things discussed in this chapter. The chapter is so early on in the book because I don't want to give the impression that ImageMagick is a one trick pony, and because any book claiming to be a complete coverage of ImageMagick really does have to discuss them. I wont go into a blow by blow account of what commands are covered, as that would be quite dull to read.…

Continue ReadingImageMagick book – Chapter 4: Other ImageMagick Tools

Random segue: how I came up with the original table of contents

One of the problems I grappled with early on with was how do you come up with a table of contents for a book? It's a complicated process, and it's really important. If the book doesn't flow, then people are left confused about what goes where, and the book is a lot less useful. Additionally, when you sit down to actually write, then you need to know what is covered where so that you can refer the reader to the right place to find out more about a specific topic -- even if you haven't covered that topic yet. So how did I come up with the first cut of the table of contents for the ImageMagick book? Well, I started by looking at all of the command line options to the various ImageMagick commands. I wrote this down on a stack of old business cards, and then distributed those cards in logical sounding piles on the floor. Those piles pretty much became the chapters that I originally submitted. That's the card mound. Anyway, once that was done, Matt (the editor) and I sat down and worked on the table of contents description until it flowed nicely, covered everything we…

Continue ReadingRandom segue: how I came up with the original table of contents

Working on review comments for Chapters 2, 3 and 4 tonight

Michael Carden asks in a comment to my previous post to the book if I had considered making draft chapters available for public comment before printing. To be completely honest it hadn't occurred to me until Michael suggested it, and it does fit well with all the open source stuff I have done over the years. It's a hard call though, because there is already a review team of four or five, and there isn't much spare time in the process because we really want the book published in time for Christmas. This is why I'm going to say no this time to the offer of a more public review, and I'll do my best to take that on board next time when I know more about how long this sort of thing can take (I'm actually only about two days over schedule at the moment, but I really don't want to slip any further). Sorry Michael. Anyways, I'm working on review comments for three chapters tonight, which is one of the things that made me think about this more. I'm really rather surprised about how positive the review comments have been so far given how I feel about the…

Continue ReadingWorking on review comments for Chapters 2, 3 and 4 tonight

Why Debian?

Why do I use Debian? Well, one of the reasons is the bug reporting. I think I just found two bugs in ImageMagick, one a simple documentation bug, and the other a functionality bug. With Debian, I can just run the reportbug command from the command line with the name of the package, and walk through the simple bug reporting process, instead of having to fight my way through mailing lists for the dozens of different packages I have installed. It's nice.

Continue ReadingWhy Debian?

ImageMagick book – Chapter 2: Basic Image Manipulation

I'm meant to be writing the rest of chapter seven tonight, but I thought I would warm up by continuing with my promised series of posts about the content of the book. The next chapter in the list is chapter two, which covers simple image manipulations. The idea was to get the stuff which everyone wants to do and cover it as soon as possible so that people can get some runs on the board (so to speak). In chapter two you will find an introduction to the bits of imaging theory that we need for the book (rasters, vectors, bitmaps, pixels, you get the idea). Then I move on to talk about ways to change the size of images. This includes resizing, sampling cropping, scaling, thumb-nailing and so forth. We also discuss some interesting transformations like trim. Then we move onto making an image larger, before finishing up with how to process many images at once with ImageMagick. It's an interesting chapter in that it's immediately useful, and goes through some interesting theory matters. It also sets the stage for the later coverage of all the other cool stuff you can do with ImageMagick. As a point of interest,…

Continue ReadingImageMagick book – Chapter 2: Basic Image Manipulation

Some details about the publication process

Pascal asked in the comments to a previous post about the book about how I was going about writing the book and how the publication process works. It's a good question, and something I meant to cover here anyway, so now seems like a good time. I'll start from the beginning with a brief summary of how I got started with this writing thing. I started off by writing a number of articles for IBM DeveloperWorks. DeveloperWorks are actually really good to work with, all I did to start writing from them was fill in the proposal web form within a couple of hours we'd sorted out what was happening, and off we went. The ImageMagick articles I wrote turned out to be quite popular with the ImageMagick people. I suspect that's why the editor for Apress, a lovely guy named Matt contacted me. He pitched the book to me, and I was originally hesitant. He spent a fair bit of time (a month?) discussing the project with me, and I ended up deciding that because it's fairly closely aligned with the imaging work I'm doing for my PhD, I ended up saying yes. Along the way I wrote a…

Continue ReadingSome details about the publication process

End of content

No more pages to load