Search found 12163 matches

by snibgo
2013-02-01T17:38:47-07:00
Forum: Bugs
Topic: convert tiff to tiff breaks files
Replies: 11
Views: 28031

Re: convert tiff to tiff breaks files

With the usual Windows tools I use ("Explorer" and "Photo Viewer"), Altered.TIF looks fine. However, "Microsoft Office Picture Manager 2006" shows Altered.TIF as green. There is a "color enhancement" facility that lets me click on an area in the picture that s...
by snibgo
2013-02-01T10:19:56-07:00
Forum: Bugs
Topic: error in -draw "polyline ..." function
Replies: 5
Views: 4972

Re: error in -draw "polyline ..." function

What do you think it is doing wrong?

It's also helpful if you state your platform and IM version.
by snibgo
2013-02-01T04:14:55-07:00
Forum: Users
Topic: Help with using IM convert
Replies: 3
Views: 5788

Re: Help with using IM convert

I have reported this on the bugs forum: viewtopic.php?f=3&t=22720
by snibgo
2013-02-01T04:14:05-07:00
Forum: Bugs
Topic: Transparency removed
Replies: 7
Views: 17768

Transparency removed

The current version of IM for Windows, 6.8.2-0, seems to be removing transparency. "%IMG682%convert" -size 100x100 xc:none -fill Red -draw "rectangle 20,20 80,80" t.png "%IMG682%convert" t.png t2.png t2.png has black where t.png wa transparent. See also http://www.image...
by snibgo
2013-02-01T04:04:28-07:00
Forum: Users
Topic: Help with using IM convert
Replies: 3
Views: 5788

Re: Help with using IM convert

I can reproduce the problem on Windows 7 in 6.8.2-0. It did not occur in v 6.8.1-10. The problem is independant of "+append". It seems that IM 6.8.2 is simply removing transparency: "%IMG682%convert" -size 100x100 xc:none -fill Red -draw "rectangle 20,20 80,80" t.png &q...
by snibgo
2013-02-01T03:17:14-07:00
Forum: Users
Topic: [Solved] Convert BMP to 8-bit with specific colormap order
Replies: 3
Views: 6640

Re: Convert BMP to 8-bit with specific colormap order

Update: we don't need "-colorspace Gray", so the command simplifies to:

Code: Select all

"%IMG%convert" palette.bmp -set colorspace RGB -type Palette p.bmp
by snibgo
2013-02-01T02:36:23-07:00
Forum: Users
Topic: [Solved] Convert BMP to 8-bit with specific colormap order
Replies: 3
Views: 6640

Re: Convert BMP to 8-bit with specific colormap order

I don't think there is a way to guarantee a particular palette order. However, it seems that this does what you want (in IM v 6.7.9 on Windows7): "%IMG%convert" palette.bmp -set colorspace RGB -colorspace Gray -type Palette p.bmp "identify -verbose" shows the palette in p.bmp, an...
by snibgo
2013-02-01T02:03:27-07:00
Forum: Users
Topic: How to remove black background.
Replies: 15
Views: 18470

Re: How to remove black background.

Any ideas on how to make this work on all files in one directory and create a directory of the cropped images within it?
http://www.imagemagick.org/Usage/basics/#mogrify
by snibgo
2013-01-31T12:15:07-07:00
Forum: Users
Topic: How to remove black background.
Replies: 15
Views: 18470

Re: How to remove black background.

Instead of out\%2, just put whatever directory and filename you want. If you are putting this in a Windows batch file, you need to double up the % signs. If you are typing at the command line, don't double them. I showed it as one command. If you want it as two commands, here they are: "%IMG%co...
by snibgo
2013-01-31T10:58:07-07:00
Forum: Users
Topic: How to remove black background.
Replies: 15
Views: 18470

Re: How to remove black background.

Oh. Ah. Um. A script is a text file that contains commands. How you create one depends on what type of computer you are using -- in particular the operating system. This isn't a scripting forum, and I wouldn't attempt to explain it. There many guides on the net. Likewise, this isn't a camera forum. ...
by snibgo
2013-01-31T10:08:29-07:00
Forum: Users
Topic: How to remove black background.
Replies: 15
Views: 18470

Re: How to remove black background.

The camera exposure varies, according to the size of the receipt. It's better to use manual control, where the camera has it, so backgrounds and foregrounds are consistent. Of course, a scanner would be even better. The "black" background has light smudges, needing some heavy manipulation ...
by snibgo
2013-01-31T09:47:31-07:00
Forum: Bugs
Topic: Only first page of PDF is converted by IM under Windows
Replies: 3
Views: 5863

Re: Only first page of PDF is converted by IM under Windows

v6.8.0-9 was also broken.
by snibgo
2013-01-31T09:43:33-07:00
Forum: Bugs
Topic: Only first page of PDF is converted by IM under Windows
Replies: 3
Views: 5863

Re: Only first page of PDF is converted by IM under Windows

Confirmed, on Windows 7. Example of 6.8.1-10, then 6.7.9-6: D:\web\im> D:\web\im>"%IMG681%convert" -verbose j.pdf jj.jpg [ghostscript library] Files (x86)/gs/gs8.71/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGr...
by snibgo
2013-01-31T09:27:20-07:00
Forum: Users
Topic: remap problem
Replies: 1
Views: 2405

Re: remap problem

What is "-colorspace RGB" doing in your commands? When I use that, I get your (bad) result. When I omit it, I get what I think is the correct result. You don't need to change the colorspace, and I think you shouldn't. (As an aside, I would rather like to be able to specify an image and map...
by snibgo
2013-01-31T04:37:15-07:00
Forum: Users
Topic: Overlapped images (what can you do with it)
Replies: 15
Views: 45776

Re: Overlapped images (what can you do with it)

Blurring will find the corners of a white line on black background, because there is a greater density of white at a corner. For example, if we draw the white outline of a square on a black background, and then blur it, the corners are lighter than the edges. "%IMG%convert" ^ -size 100x100...