Search found 9 matches

by rpalmer
2014-01-31T05:20:30-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

Duplicated reply by mistake so removed, sorry!
by rpalmer
2014-01-31T04:49:08-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

Well, I guess you can't win all the time. If however you guys could help me have a tiled checkerboard sized rgb jpg thumbnail on those it can then it will still be a win :D

I currently run

convert -colorspace sRGB -thumbnail {X}x{Y} {in} {out}
X - desired width
Y - desired height
in - Input file ...
by rpalmer
2014-01-31T03:15:49-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

Hi thanks for your help so far guys.

I've upgraded to the following versions just to make sure

convert -version
Version: ImageMagick 6.8.8-3 Q8 x64 2014-01-19

gswin64 -version
GPL Ghostscript 9.10 (2013-08-30)

convert -thumbnail 80x80 -density 72 -units pixelsperinch in.eps pattern:checkerboard ...
by rpalmer
2014-01-30T07:11:17-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

The plot thickens.

I opened the EPS in Photoshop, which shows it having transparency, and "saved as" a PNG. I then ran your suggested
convert in.png pattern:checkerboard +swap -composite out.png
This has given me a checkerboard background but only showing me a small portion of the image so I ...
by rpalmer
2014-01-30T06:20:45-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

Code: Select all

convert -size 300x100 -background none label:snibgo pattern:checkerboard +swap -composite c.png
This gives me a checkerboard with "snibo" text on it

Code: Select all

convert in.eps out.png
This gives me a white backgrounded with the black text in the foreground
by rpalmer
2014-01-30T05:51:40-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

Sorry, still no go, but what you describe what I am trying to achive is correct.

The eps file is a simple 2.5 cm square box with text written in the forground in black in 1 layer if opened in photoshop but you can pick the text up and move it around with the move tool. I don't think I can attach it ...
by rpalmer
2014-01-30T04:46:54-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Re: Thumbnails using images with transparency

Hi,

Thanks for your reply, it didn't work though, here are my results.

convert -size 300x100 -background none label:snibgo pattern:checkerboard +swap -composite in.eps

- replaced transparent backgraound with the checkerboard and the text "snibgo"

I also tried outputting to a file to see if ...
by rpalmer
2014-01-30T04:08:41-07:00
Forum: Users
Topic: Thumbnails using images with transparency
Replies: 17
Views: 7059

Thumbnails using images with transparency

Hi,

I've been searching for a way to do the following and struggling.

I have been using convert and -thumbnail and a size for a while and all has been well. However I now need to extend this a little to cope with images that have transparency, I've set the Alpha layer to white or black but then ...