Search found 13038 matches

by snibgo
2010-02-16T15:04:56-07:00
Forum: Users
Topic: help with script bg_removal
Replies: 6
Views: 15617

Re: help with script bg_removal

Perhaps the script needs some work. Can you post it?
by snibgo
2010-02-16T15:02:05-07:00
Forum: Users
Topic: FPDF error: Alpha channel not supported
Replies: 11
Views: 37427

Re: FPDF error: Alpha channel not supported

Have you tried fmw42's suggestion of removing transparency?

convert rounded_corners.png -background white -flatten rounded_corners.png
by snibgo
2010-02-16T10:08:24-07:00
Forum: Users
Topic: Dealing with alpha layers in TIFF->JPEG conversions
Replies: 12
Views: 30153

Re: Dealing with alpha layers in TIFF->JPEG conversions

I don't know the answers, but: (a) The Ubuntu file manager (Nautilus) seems to give the behaviour you want (b) So does Gimp, although opening mask.tif gives the warning: "TIFF image Message. alpha channel type not defined for file mask.tif. Assuming alpha is not premultiplied." So I assume the files...
by snibgo
2010-02-15T15:41:45-07:00
Forum: Users
Topic: FPDF error: Alpha channel not supported
Replies: 11
Views: 37427

Re: FPDF error: Alpha channel not supported

Is it trying to tell you alpha channels aren't supported in PDF?

When test.png has transparency:

Code: Select all

convert test.png test.pdf
convert test.pdf test2.png
works for me, but test2.png has no transparency.

(Ubuntu, IM is 6.4.5 2009-06-04 Q16)
by snibgo
2010-02-15T15:25:52-07:00
Forum: Users
Topic: Convert CMYK PDF to JPG creates corrupt image.
Replies: 10
Views: 24736

Re: Convert CMYK PDF to JPG creates corrupt image.

Put it on a website somewhere and post the URL here.
by snibgo
2010-02-15T15:23:28-07:00
Forum: Users
Topic: PNG2TIFF width transparent background
Replies: 10
Views: 25801

Re: PNG2TIFF width transparent background

I don't understand. I want to convert a PNG with a transparent background to a tiff with also a transparent background. This will do that: convert test.png test.tif The generated tiff have an alpha channel, i don't think i want that You can't have a transparent background without an alpha channel (a...
by snibgo
2010-02-13T00:21:06-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 72695

Re: repairing jpegs

Does Photoshop report the file is a JPEG?

If the file is a badly-written jpeg, the solution may be to open it and re-save it in a more tolerant program (PS or Gimp). If you need to do this often, you could write a script.
by snibgo
2010-02-12T05:32:44-07:00
Forum: Users
Topic: Weird Adobe JPEG CMYK images?
Replies: 3
Views: 9290

Re: Weird Adobe JPEG CMYK images?

Pleasure. Of course, blindly stripping out the profile does change the colour slightly.
by snibgo
2010-02-12T04:38:29-07:00
Forum: Users
Topic: Weird Adobe JPEG CMYK images?
Replies: 3
Views: 9290

Re: Weird Adobe JPEG CMYK images?

-strip will remove profiles etc:

Code: Select all

convert 710006.jpg -strip -quality 50 x.jpg
Adjust quality parameter to suit.
by snibgo
2010-02-11T22:00:36-07:00
Forum: Users
Topic: converting jpeg files to pdf
Replies: 6
Views: 14753

Re: converting jpeg files to pdf

Don't forget that IM will try to read in all the JPEGS and decompress them before doing the processing. How many pixels does each one have? You might look at the problem differently. You don't really want to ocnvert the images. Instead, you want to include them (unconverted) in a PDF documnent. For ...
by snibgo
2010-02-11T21:31:53-07:00
Forum: Users
Topic: converting jpeg files to pdf
Replies: 6
Views: 14753

Re: converting jpeg files to pdf

I know nothing about PDF, but you might try:

Code: Select all

convert *jpg -compress JPEG my.pdf
ls -l my.pdf
convert *jpg -compress JPEG -quality 50 my.pdf
ls -l my.pdf
by snibgo
2010-02-11T20:19:56-07:00
Forum: Users
Topic: How to create round corner and drop shadow by convert?
Replies: 27
Views: 61345

Re: How to create round corner and drop shadow by convert?

If my brain was in gear, I would have seen that the four Windows lines: convert xc: -format "set wwm1=%%[fx:%ww%-1]" info:%TEMP%\getsize.bat call %TEMP%\getsize.bat convert xc: -format "set hhm1=%%[fx:%hh%-1]" info:%TEMP%\getsize.bat call %TEMP%\getsize.bat can be simplified to: set /A wwm1=%ww%-1 s...
by snibgo
2010-02-11T20:03:23-07:00
Forum: Users
Topic: cr2 to png problem
Replies: 5
Views: 13956

Re: cr2 to png problem

Does gthumb make thumbnails, ie images with smaller dimensions?

Png doesn't compress photos well. A common program "pngcrush" might shrink them a little. But if you want smaller filesizes, try jpg.
by snibgo
2010-02-11T19:49:24-07:00
Forum: Users
Topic: How to create round corner and drop shadow by convert?
Replies: 27
Views: 61345

Re: How to create round corner and drop shadow by convert?

Yes, I think that analysis is about right. The input image might be 100 pixels wide, so the roundrectangle would start at coordinate 0,0 and end at 99,99. So we need the "minus 1". I don't know why Fred (fmw42) started at 1,1. Starting at 0,0 seems fine. Here are my comments on your analysis: 3a -al...
by snibgo
2010-02-10T09:56:11-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 40228

Re: Cut the sides - or Zooming

The "cut" command (see any Unix documentation) extracts data from a file, in this case data that is delimited by "x", taking the first or second fields. I'm giving you an alternative to the "cut" command, by using convert to write a Windows batch file that sets two environment variables, then execut...