Search found 12163 matches

by snibgo
2010-04-21T08:11:52-07:00
Forum: Users
Topic: border width and height units of measure
Replies: 2
Views: 6522

Re: border width and height units of measure

The unit is "pixels". Pretty much everything in IM is measured in pixels.
by snibgo
2010-04-20T14:04:00-07:00
Forum: Bugs
Topic: error/jp2.c/WriteJP2Image/877. under windows XP
Replies: 10
Views: 20496

Re: error/jp2.c/WriteJP2Image/877. under windows XP

I just installed the pre-built Windows binary, without compiling anything. I think it has Jasper built-in, but I'm not sure. I don't think I've ever installed Jasper, as a separate chunk of software, on that machine.
by snibgo
2010-04-20T13:35:32-07:00
Forum: Bugs
Topic: error/jp2.c/WriteJP2Image/877. under windows XP
Replies: 10
Views: 20496

Re: error/jp2.c/WriteJP2Image/877. under windows XP

I dusted off my Windows XP machine, installed IM 6.6.1-4 Q16 and tried (in an ordinary user account):

convert logo: logo.bmp
convert logo.bmp logo.jp2

It works fine, as it also does under IM 6.5.4-0 Q8.

Sorry, I don't know what else to suggest.
by snibgo
2010-04-19T14:06:33-07:00
Forum: Users
Topic: [HELP] Split closed black frames from an image
Replies: 14
Views: 25733

Re: [HELP] Split closed black frames from an image

Quite simple in principle, but tedious. 1. Create nearly square masks, eg 5x4 pixels, with black square and one white edge. Compare these with page22r.jpg to find the container lines. (Using one exactly square mask with all pixels black will create false positives.) The result will have white for th...
by snibgo
2010-04-19T11:46:54-07:00
Forum: Bugs
Topic: error/jp2.c/WriteJP2Image/877. under windows XP
Replies: 10
Views: 20496

Re: error/jp2.c/WriteJP2Image/877. under windows XP

Have you checked that you can (as ordinary user) create files in that directory?

Does convert work for other file types? Eg:

convert logo: logo.png
convert logo: logo.jpg
convert logo: logo.jp2
by snibgo
2010-04-19T06:55:32-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30485

Re: Image with profile

Yes, that command applies the profile. Perhaps Quicktime and Windows viewers don't like large profiles. Then "-profile sRGB.icm" would convert it back to sRGB space. I would do all the work in a single convert command: set TEMPLATE=template.png set LEFT=left_image.png set RIGHT=right_image...
by snibgo
2010-04-19T06:28:23-07:00
Forum: Bugs
Topic: error/jp2.c/WriteJP2Image/877. under windows XP
Replies: 10
Views: 20496

Re: error/jp2.c/WriteJP2Image/877. under windows XP

I have no idea. It would help if you told us your platform, IM version, exact IM command, and link to the image that gives the problem.
by snibgo
2010-04-18T20:52:28-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30485

Re: Image with profile

I was having finger-trouble. The correct convert that takes the embedded profile into account so IM creats a monochrome image is: convert -size %WW%x%HH% xc:None ^ %LEFT% -profile sRGB.icm ^ -gravity West -composite ^ ( ^ -size %WW%x%HH% xc:None ^ %RIGHT% ^ -gravity East -composite ^ ( template.png ...
by snibgo
2010-04-18T10:25:57-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30485

Re: Image with profile

This Windows 7 script: set TEMPLATE=template.png set LEFT=left_image_with_profile.png set RIGHT=right_image.png FOR /F "usebackq" %%L IN (`identify -format "WW=%%w\nHH=%%h" %TEMPLATE%`) DO set %%L convert -size %WW%x%HH% xc:None ^ %LEFT% -colorspace Gray ^ -gravity West -composit...
by snibgo
2010-04-17T12:28:13-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30485

Re: Image with profile

Sorry, I don't understand. If the whole image gets greyscaled, it will all be greyscale, not just part of it.

Can you post input files and expected output?
by snibgo
2010-04-17T06:38:15-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30485

Re: Image with profile

It's difficult to be specific without knowing exactly what you are trying to do. Is there any option to add profile to an image without embed? "-profile ABC.icc" will adjust the image according to the profile, and embed it. You can then remove the embedded profile, if you want, with "...
by snibgo
2010-04-17T00:41:29-07:00
Forum: Bugs
Topic: ImageMagick-6.6.0-10 doesn't import bw png transparency
Replies: 8
Views: 17771

Re: ImageMagick-6.6.0-10 doesn't import bw png transparency

Under Windows 7, I get fracai's broken behaviour in IM 6.6.1-1 Q8, but not under 6.6.0-8 Q16.
by snibgo
2010-04-16T11:24:02-07:00
Forum: Users
Topic: JPEG find the Colorspace
Replies: 1
Views: 6741

Re: JPEG find the Colorspace

It might come from the JPEG SPIFF "Colorspace" tag:

0 = Bi-level
1 = YCbCr, ITU-R BT 709, video
2 = No color space specified
3 = YCbCr, ITU-R BT 601-1, RGB
4 = YCbCr, ITU-R BT 601-1, video
8 = Gray-scale
9 = PhotoYCC
10 = RGB
11 = CMY
12 = CMYK
13 = YCCK
14 = CIELab
by snibgo
2010-04-16T08:22:19-07:00
Forum: Users
Topic: Image with profile
Replies: 15
Views: 30485

Re: Image with profile

destination2.png will take its size, comments, profile and the rest from destination1.png, not org_bw.png. If you want the opposite effect, reverse the order of the files.

See http://www.imagemagick.org/Usage/compose/
by snibgo
2010-04-16T07:33:37-07:00
Forum: Users
Topic: Error Convert JPG to JP2 on Windows Platform
Replies: 5
Views: 12189

Re: Error Convert JPG to JP2 on Windows Platform

Sorry, I don't know what the problem might be. You might try:

- Can you convert any images to jp2? Eg "imconvert logo: logo.jp2".

- Run the convert with "-debug all". That might provide a clue to what is failing.