Bugs item #3013502, was opened at 2010-06-08 19:46
Message generated for change (Comment added) made by jepler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3013502&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GUI - AXIS
Group: None
Status: Open
Resolution: None
Priority: 1
Private: No
Submitted By: Bill Richman (brichman)
Assigned to: Chris Radek (cradek)
Summary: png file with gradient fade not converting correctly

Initial Comment:
I have a png file produced via export from InkScape, which includes some fairly 
fine detail with a gradient fade applied from top to bottom, which I'm hoping 
will cause the image to be engraved shallowly at the bottom and more deeply at 
the top.  If I look at it with an image viewer, it looks fine, but when I try 
to import it to Axis, it comes up with most of the details replaced by solid 
black.  If I let it go ahead and generate g-code, it does seem to have lost all 
the detail.  If I hide the gradient fade in InkScape, however, and import that 
image with Axis, it renders the detail into g-code just fine (except without 
the slope I'm after).  Any suggestions?

----------------------------------------------------------------------

>Comment By: Jeff Epler (jepler)
Date: 2010-06-09 08:22

Message:
Your images have an alpha channel.  Image2gcode was not designed for images
with an alpha channel.  It looks like it treats a pixel that is not 100%
transparent as if it is fully black(?) but images that are 100% transparent
as white.

I opened the gradient image in gimp and with the background color set to
white invoked Image > Flatter Image, which gives an image with opaque
pixels blended against a white background.  This gives me an image that
looks OK in the image2gcode preview.

----------------------------------------------------------------------

Comment By: Bill Richman (brichman)
Date: 2010-06-08 21:47

Message:
Hmm - it may be transparency in the image causing my problem.  Let me work
on it a bit before you spend any time on this.  

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3013502&group_id=6744

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to