RE: HELP!!! was: Re: [Inkscape-devel] importing bitmaps as patterns
- The image's top-left is not aligned with the rect's top-left.
Currently the image's top-left is (usually) in the center of the rect.
Works for me. Can you provide an example?
2) When the rect is grown, the image is tiled to fit the rect. It
should cover the rect exactly and completely -once-.
Oh, again, this is A BUG to be fixed :) I have specifically noted that you need to Store tranasforms: Preserved as a workaround for now. If this still happens with Preserved, I want to know details.
- Image transparency is broken. The background of the rect is copied
onto whatever is behind it. I do not know how to fix this. If the image it placed upon an invisible rect, isn't the entire image invisible also? The rect would have to be 0% opaque on the transparent parts, and whatever the user wants on the rest (default 100%). It would basically need to be a matte fill, or the alpha-blend algorithm.
I honestly haven't looked at transparency in particular, but I remember that it didn't work for <image> either when I tried it. I'll investigate.
This is a great idea, but I can't use it right now. I'd like to keep using the current CVS, but is there a way I can back this change out just for myself?
Set options.importbitmapsasimages to 1 in your preferences.xml. Better yet, stay in the new mode and help us debug it :)
_________________________________________________________________ Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI...
BULIA, awesome. Sometimes, as I'm finding you must hack together an implementation and pseudo-break somethings to get movement on some part of the codebase.
My question then is what is needed to support the <image> tag. Looking here at the SVG spec: http://www.w3.org/TR/SVG11/struct.html#ImageElement
Also, how would we go about embedding images into svg files, or should we included linked images into a compressed package using our .jar/.sxw code?
It looks like adobe embeds images into their svg...thoughts?
Jon
On Wed, 2004-05-26 at 08:43, bulia byak wrote:
- The image's top-left is not aligned with the rect's top-left.
Currently the image's top-left is (usually) in the center of the rect.
Works for me. Can you provide an example?
- When the rect is grown, the image is tiled to fit the rect. It
should cover the rect exactly and completely -once-.
Oh, again, this is A BUG to be fixed :) I have specifically noted that you need to Store tranasforms: Preserved as a workaround for now. If this still happens with Preserved, I want to know details.
- Image transparency is broken. The background of the rect is copied
onto whatever is behind it. I do not know how to fix this. If the image it placed upon an invisible rect, isn't the entire image invisible also? The rect would have to be 0% opaque on the transparent parts, and whatever the user wants on the rest (default 100%). It would basically need to be a matte fill, or the alpha-blend algorithm.
I honestly haven't looked at transparency in particular, but I remember that it didn't work for <image> either when I tried it. I'll investigate.
This is a great idea, but I can't use it right now. I'd like to keep using the current CVS, but is there a way I can back this change out just for myself?
Set options.importbitmapsasimages to 1 in your preferences.xml. Better yet, stay in the new mode and help us debug it :)
Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI...
This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Wed, 2004-05-26 at 15:43, bulia byak wrote:
- The image's top-left is not aligned with the rect's top-left.
Currently the image's top-left is (usually) in the center of the rect.
Works for me. Can you provide an example?
I can confirm this behaviour... obviously the pattern fill starts at the top left corner of the canvas (weird it isn't [0,0]) and not the top right corner of the rect by default. Just see the attached png. I'm using yesterdays build (I believe) and don't see anyway to change this. I'm a little confused, cause I have no patternfill button in the fill dialog. Should there be one?
- When the rect is grown, the image is tiled to fit the rect. It
should cover the rect exactly and completely -once-.
Oh, again, this is A BUG to be fixed :) I have specifically noted that you need to Store tranasforms: Preserved as a workaround for now. If this still happens with Preserved, I want to know details.
IMHO this actually is not a bug! We're talking about _patternfill_. That's what a patternfill is supposed to do! There should be a possibility to scale the pattern in the fill-dialog and also to offset the starting point of the pattern in canvas or respectively object coordinates (a bit like gradientfill). Maybe you also want the pattern to scale with the object, when ctrl is pressed while scaling.
- Image transparency is broken. The background of the rect is copied
onto whatever is behind it. I do not know how to fix this. If the image it placed upon an invisible rect, isn't the entire image invisible also? The rect would have to be 0% opaque on the transparent parts, and whatever the user wants on the rest (default 100%). It would basically need to be a matte fill, or the alpha-blend algorithm.
I honestly haven't looked at transparency in particular, but I remember that it didn't work for <image> either when I tried it. I'll investigate.
I don't quite understand. The rect should have no fill, and by default doesn't. if I want to alpha-blend the image, I just use the object-dialog and ajust the the opacity of the rect. What am I missing here?
This is a great idea, but I can't use it right now. I'd like to keep using the current CVS, but is there a way I can back this change out just for myself?
Set options.importbitmapsasimages to 1 in your preferences.xml. Better yet, stay in the new mode and help us debug it :)
The idea isn't too bad, but it's not great. Sorry to say that, Bulia ;) What I'm criticising is that you eventually give up the idea of a patternfill, to make a workarround for clipping paths. I don't know about you, but I think, whose of you who do the coding will end up throwing all this stuff away pretty soon because real clipping paths are implemented.
Take care!
David
participants (3)
-
bulia byak
-
David Christian Berg
-
Jon Phillips