Jey

Results 7 comments of Jey

really thanks for your quick reply! I didnt use imageview,but used for picturedrawable to draw on canvas, ths for you suggestion, if I trans picturedrawable to bitmap,the picture will not...

yes, but I found there is a solution to set colorfilter in SVG Use this fork of svg-android: [https://github.com/japgolly/svg-android](url) It supports ColorFilters, but I used this can not show SVG...

That fork probably set colorfilter before rendering to Canvas,large code,lazy to read

hi... I used SVG to a Bitmap option, but the bitmap is distorted, how can I do

`File file = new File(data.getFileLocalPath()+"/"+viewsBean.getLogo_name()); InputStream inputStream = new FileInputStream(file); SVG svg = SVG.getFromInputStream(inputStream); Picture picture = svg.renderToPicture(); Drawable drawable = new PictureDrawable(picture); bitmap = ImageUtils.drawable2Bitmap(drawable);` finally the bitmap is...

yes I did this too,but also didnt optimized today I found that your code in `SVGAndroidRenderer` to draw the picture by use canvas so I think if we can setColorfilter...

Thanks for your attention I download your code and edit the fillPaint to set colorfilter finally I found this way is complete feasible! Im going to use your code in...