James Jackson-South
5a33414d5f
Fix #301
Decode using tRNS chunk of present
9 years ago
Anton Firszov
683f51d586
removed TestBase
9 years ago
Mormegil
76b77dafb7
Support more variants of BMP headers
9 years ago
Anton Firszov
b67be60b05
Better and fewer cases in DitherTests. Skipped the one that's failing.
9 years ago
Scott Williams
872ca973de
inital rename packages and namespaces
9 years ago
Anton Firszov
8548e5d680
PixelTypes bugfix + polishing ResizeTests
9 years ago
James Jackson-South
8b9c0af322
Fix marker skipping bug when decoding certain images
9 years ago
James Jackson-South
2f48d33d2f
Fix tests
9 years ago
James Jackson-South
5fa10c0ab3
Remove StandardImageClass
9 years ago
James Jackson-South
d76fdedee7
Oilpainting
9 years ago
James Jackson-South
fe040bbdac
BlackWhite, ColorBlindness, Grayscale
9 years ago
James Jackson-South
0dcbf0af2e
BinaryThresholdTests as template
9 years ago
James Jackson-South
3ffb02844f
Fix source rectangle regression in resize #118
9 years ago
James Jackson-South
8dab59b321
Octree Quantizer now only supports 1 alpha value
... As nature intended. My Existing hack was incorrect and led to
strange results.
9 years ago
James Jackson-South
c45b945489
Fix #115
9 years ago
James Jackson-South
972e345ab8
Ignore chunk length of 1. Fix #103
TODO: Read libpng for matching behaviour
9 years ago
James Jackson-South
693c8a7446
Reorganise test files.
9 years ago
Anton Firszov
4004feeda9
strictly categorized test jpeg-s into Baseline/Progressive groups
9 years ago
Scott Williams
adf70f8760
Revert "At least render something when progressive."
This reverts commit d05b06bbbd .
9 years ago
James Jackson-South
55214175b2
At least render something when progressive.
This allows parsing of the broken eof images. The non-progressive
renders perfectly, the progressive appears to not render the final
scan.... or something.
9 years ago
James Jackson-South
62000bfc9f
Add interlace powerpoint image touch #76 [skip ci]
9 years ago
Scott Williams
de9c49b122
split formats into there own projects/packages
9 years ago
Dirk Lemstra
bfc2cb02e5
Moved some of the new files around.
Moved the private classes to separate files.
Removed the FlagsHelper class and only take what we need.
Some refactoring in some of the new classes.
9 years ago
antonfirsov
09f2ad0b14
re-added & refactored TestUtilities
9 years ago
Dirk Lemstra
b13521114c
Refactored TestImages again so they can be used in Attributes.
9 years ago
James Jackson-South
ed1850ebec
Waaaay to kill testing speed!
9 years ago
James Jackson-South
2272780223
Add new test file.
The octree quantizer does not like this file. A couple of frame
backgrounds turn out the wrong color. When you resize though all is
fixed!?
9 years ago
Dirk Lemstra
6e0a9b49db
Changed the test images from string into TestFile.
9 years ago
James Jackson-South
1fd9afcba6
Decode CMYK and YCCK images Fix #40
We can decode the images but there is a loss of accuracy due to a lack
of ICC support.
9 years ago
Scott Williams
3f0f39c1bc
Add drawing methods.
Adds a 4 `IPath`s;
- `Path` : a generic open path described by an arbitrary collection of `ILineSegments` which are closed.
- `Polygon` : a generic closed path described by an arbitrary collection of `ILineSegments` which are closed.
Adds 2 `ILineSegment`s;
- `LinearLineSegment` : a segment made up of control points representing straight lines.
- `BezierLineSegment` : a path made up of control points describing a bezier path.
Adds 4 `IShape`s
- `Polygon` : a generic closed path described by an arbitrary collection of `ILineSegments` which are closed.
- `LinearPolygon` : a shape made up of control points representing straight lines.
- `BezierPolygon` : a shape made up of control points describing a set of bezier curves which are closed by a straight line
- `ComplexPolygon` : a polygon described by one or more `IShape`s as either outlines or holes.
All `IShape`s can be represents as a collection of `IPath`.
Adds 2 `IBrush`s
- `SolidBrush` : described by a `TColor`
- `Patternbrush` : described by a foreground and background `TColor` and a pattern.
Adds 1 `IPen`:
- `Pen` : described by an `IBrush` a width/thickness to draw the line and an optional pattern.
Adds 3 Image Processors
- `FillProcessor` : flood fills the image with an `IBrush`.
- `FillShapeProcessor` : flood fills inside an `IShape`.
- `DrawPathProcessor` : draws a collection of `IPath`s or and `IShape`s onto the image using an `IPen` to determine `TColor`.
Adds a multitude of Image Extensions for accessing the above processors in a manor similar to `System.Drawing`
9 years ago
James Jackson-South
c68ac88f10
Fix #9
9 years ago
James Jackson-South
cea1b5baf2
Much better output. Nearly there. Touch #9
Image in issue works perfectly as does rgba test image. rgb 8x8 test
image shows 2 pixel error though and I don't know why.
9 years ago
James Jackson-South
d61fae265e
A little bit better
9 years ago
James Jackson-South
b94a865d1c
Initial attempt to decode png. Touch #9
I can pull the pixels from the stream but something is wrong with my
offset calculations. Fingers crossde it's something easy to spot.
9 years ago
Oleg Bogdanov
e9ccc93da4
Don't allocate memory for png decode filters, reuse scanline buffers
- Added png test images with different filters for local tests
9 years ago
James Jackson-South
0d395314a8
Reduce allocations when encoding
Down to 2.8X Sys.Draw with 1/4 memory per allocation. No tsure where to
go from here. Vectors maybe?
9 years ago
James Jackson-South
bcfc74a182
Optimize and cleanup the jpeg decoder
TODO: Test single vs multiple threaded decoding.
9 years ago
James Jackson-South
be028ed1b5
Build Huffman tables once only.
9 years ago
James Jackson-South
a57c90d94b
Rename to ImageSharp
9 years ago
dirk
c7606def89
Use jpeg instead of jpg.
Former-commit-id: c6c5334eaff8c57cd508e2388b9287fba8c635b3
Former-commit-id: be669dc053bd6ff9cf4d320bd8e6d5cc5eaa775d
Former-commit-id: 2cd963161aa5afe53e6f304c42d2fd4c57383ae7
9 years ago
dirk
d72ed0ac01
Refactored creating the output directory.
Former-commit-id: f23cc3264514e4c882d0a2ed41ffc23f9abb54ef
Former-commit-id: b9e32392f090e1fd3f0c534bad3939360d0dcecd
Former-commit-id: 6276382a7659cc1f3fed381c2cedcee611947da5
9 years ago
dirk
2102ff5186
Only read and decode the test images once in the unit tests.
Former-commit-id: 789111f1860e7b59bab56e10a8145d76eec0639a
Former-commit-id: 436fb17c2ae4d183b2fc50c1770d474b0dab570f
Former-commit-id: cfce7b2f47d0fd834893251577ede00cde96cd5e
9 years ago
James Jackson-South
b3c22c1f14
Cleanup [skip ci]
Former-commit-id: bff8258988879560d70275e17138ea80c4fcaa17
Former-commit-id: f88a9c5dc94265442f0f52c2595125e316e6efb0
Former-commit-id: 375b12dc3e97e8e6893f0f03869e8b525de4b07c
9 years ago
James Jackson-South
5cd6d2de08
Remove progress event handler.
It was useless once multiple processors were combined and also hurt
performance.
Former-commit-id: 639ea64d56094dbaed1cfb94cdc154d5439fc446
Former-commit-id: 9cf0ff1d972ff903bc14c8121c2feb15fcbcd690
Former-commit-id: 04da60830efe9a6d774e0f80431592c9c53f1841
10 years ago
James Jackson-South
0bae8d559f
Move adobe transforms to constants. [skip ci]
Former-commit-id: 9d3ce39703340dcc507fa395eae0888d2f239e47
Former-commit-id: 4cdf934c53f6addf88c7bb645804feea0b47c7e5
Former-commit-id: e29fcd94b179e8e377871eee0035d212145c5fe6
10 years ago
dirk
ec047a3c14
Add new TestImages class to get easier access to individual test images.
Former-commit-id: 9a2532c9dfb7d153dcc67d2fe3978771e90e07cc
Former-commit-id: 9dd731103d2774c5c5923d1b57e90c66d78349f5
Former-commit-id: 7c8dd93df1e327e3b816aa04721d35f16957215a
10 years ago
James Jackson-South
6574466aac
Sanitation, performance, vignette, and glow
TODO convolution and colormatrix sanitation
Former-commit-id: 2dc40b04a3d2c7bcf539488d4c0559fd42a48125
Former-commit-id: e79bce183a3fce5bd19c05271ac55dc756f74098
Former-commit-id: 43fa71e167864c565463fd3d2250a9603125661a
10 years ago
James Jackson-South
cb6e3145ed
Fix resampler accuracy
Former-commit-id: 35f3471c93647fb9cf7927cd758321154f06cdbb
Former-commit-id: d90a5442769e89c655a4ada4a6ca36d07fa4bac5
Former-commit-id: 813a7f137bc4badeae043123dd51d02c8812e217
10 years ago
James Jackson-South
b73339d316
Attempt to weight calc cleanup [skip ci]
Former-commit-id: 485d047c26116a779df451cc5b6e908aaf458245
Former-commit-id: 5d60473dbdc50f4ea1a3f9a7259285195b2508e7
Former-commit-id: 63bcdaa96ad9327b223a4052fb16e26b69372f64
10 years ago
James Jackson-South
e74eed2631
Add turtle for testing
http://css3.bradshawenterprises.com/filters/
Former-commit-id: 65f2931f38d1b159291a39178ac743d628477483
Former-commit-id: 1cb0efb5f0c944a6f0aed5b191ae692b35f36b0f
Former-commit-id: 71c2bbee979c71225b669ae0226c491f23996ede
10 years ago