ImageDraw.jl icon indicating copy to clipboard operation
ImageDraw.jl copied to clipboard

Drawing Package for JuliaImages

Results 23 ImageDraw.jl issues
Sort by recently updated
recently updated
newest added

The example gives the impression that ```draw!``` returns a copy like ```draw``` ```julia img = testimage("lighthouse") img_example_stage1 = draw!(img, Polygon(RectanglePoints(Point(10, 10), Point(100, 100))), RGB{N0f8}(1)) img_example_stage2 = draw!(img_example_stage1, Polygon(RectanglePoints(CartesianIndex(110, 10), CartesianIndex(200,...

eg: ```julia img = zeros(RGB, (200,200)); draw(img, Ellipse(100, 100, 100, 100; thickness=29, fill=false), RGB(1,1,0)) ``` will not draw anything because the code is using a bogus normalized distance for the...

When using `CartesianIndex` to define a rectangle, the resulting rectangle is not bounded by the pixels mentioned in the `CartesianIndex`. Example: ```julia julia> RectanglePoints(CartesianIndex(1,2), CartesianIndex(3,4)) RectanglePoints(Point(1, 2), Point(3, 4)) ```...

- added simple fill option for polygons, similar to the filled ellipse - the polygon's boundary must be drawn even in the filled case, as the scanline filling algorithm cannot...

The current ImageDraw design has significantly restricted its possibility to the 2D case, and that's not good in general (even though it's the most common case). What I have in...

breaking

Since this project is still WIP,these filling algorithms commonly used in computer graphics would be quite useful addition - Boundary Fill Algorithm - 4- pixel method - 8- pixel method...

It would be nice to allow fill the region with multiple fillvalues: - a constant value - interpolating/extrapolate a list of values - calling a custom function like the `etp`...

I'm not sure if this is an expected behavior or not: ```julia img = zeros(RGB{Float64}, 10, 10) verts = [CartesianIndex(2, 2), CartesianIndex(2, 6), CartesianIndex(6, 2), CartesianIndex(2,2)] alg = BoundaryFill(4, 4;...

bug

```julia using ImageCore, ImageShow, TestImages, ImageDraw img = testimage("lighthouse") verts = [CartesianIndex(2, 2), CartesianIndex(2, 6), CartesianIndex(6, 2)] alg = BoundaryFill(3, 3; fill_value = RGB{N0f8}(1), boundary_value = RGB{N0f8}(1)) draw(img, verts, alg;...

bug

Initial Base Tasks: - [ ] Lots of tests - [x] Buggy implementation fix(it works for some cases, in some others it doesn't) - [x] Doc string of flood fill...