RSS/Atom feed Twitter
Site is read-only, email is disabled

perfect circle

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

perfect circle Bob Meetin 14 Dec 19:04
  perfect circle Johan Vromans 14 Dec 22:55
   perfect circle Bob Meetin 15 Dec 05:15
Bob Meetin
2008-12-14 19:04:42 UTC (over 16 years ago)

perfect circle

This seems simple, but I tried:

convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,50' red-circle.png convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,49' red-circle.png

And numerous other variations, it either pushes one side too much or seems to be one pixel too small.

Johan Vromans
2008-12-14 22:55:28 UTC (over 16 years ago)

perfect circle

Bob Meetin writes:

This seems simple, but I tried:

convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,50' red-circle.png ...
And numerous other variations, it either pushes one side too much or seems to be one pixel too small.

convert -size 100x100 xc:none -fill red -draw 'circle 49.5,49.5 0,50' red-circle.png

convert -size 101x101 xc:none -fill red -draw 'circle 50,50 0,50' red-circle.png

-- Johan

Bob Meetin
2008-12-15 05:15:13 UTC (over 16 years ago)

perfect circle

With both of your help I was able to get this working. Here is the end result:

http://dottedi.biz/codesamples/convert/index.php

It started with: http://dottedi.biz/codesamples/convert/test.jpg and is processed through php, convert, composite. To keep the image weight down I tested -dept 8, 6 & 4 with the .png files. I don't see much difference. Is there any reason why the png -depth 4 should not be used on a web page. I assume the IE pngfix will still work with it.

-Bob

Johan Vromans wrote:

Bob Meetin writes:

This seems simple, but I tried:

convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,50' red-circle.png ...
And numerous other variations, it either pushes one side too much or seems to be one pixel too small.

convert -size 100x100 xc:none -fill red -draw 'circle 49.5,49.5 0,50' red-circle.png

convert -size 101x101 xc:none -fill red -draw 'circle 50,50 0,50' red-circle.png

-- Johan _______________________________________________ Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user