James Jackson-South
20adb6a487
Ensure we don't slow down CI
9 years ago
James Jackson-South
d6bc806ace
AppHeadMarker
9 years ago
James Jackson-South
abeaf6b493
Fix #301
Decode using tRNS chunk of present
9 years ago
Anton Firszov
b1ecd66ef9
removed TestBase
9 years ago
Mormegil
6c4208e006
Support more variants of BMP headers
9 years ago
Anton Firszov
1775fd6eb6
Better and fewer cases in DitherTests. Skipped the one that's failing.
9 years ago
Scott Williams
94c60cb338
inital rename packages and namespaces
9 years ago
Anton Firszov
105d445cd4
PixelTypes bugfix + polishing ResizeTests
9 years ago
James Jackson-South
a710ccca3a
Fix marker skipping bug when decoding certain images
9 years ago
James Jackson-South
996da79f8d
Fix tests
9 years ago
James Jackson-South
5ec3f28532
Remove StandardImageClass
9 years ago
James Jackson-South
89973f32f8
Oilpainting
9 years ago
James Jackson-South
775a99cbf5
BlackWhite, ColorBlindness, Grayscale
9 years ago
James Jackson-South
1ebb23009e
BinaryThresholdTests as template
9 years ago
James Jackson-South
c75ebb308a
Fix source rectangle regression in resize #118
9 years ago
James Jackson-South
3b97c0db91
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
90de26fbe5
Fix #115
9 years ago
James Jackson-South
a1c4882922
Ignore chunk length of 1. Fix #103
TODO: Read libpng for matching behaviour
9 years ago
James Jackson-South
bcf57bcc81
Reorganise test files.
9 years ago
Anton Firszov
2fe420bd9a
strictly categorized test jpeg-s into Baseline/Progressive groups
9 years ago
Scott Williams
2953d877c6
Revert "At least render something when progressive."
This reverts commit d05b06bbbd .
9 years ago
James Jackson-South
d05b06bbbd
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
08c48acb7d
Add interlace powerpoint image touch #76 [skip ci]
9 years ago
Scott Williams
6ead567a4c
split formats into there own projects/packages
9 years ago
Dirk Lemstra
dea6d30bd4
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
2678539037
re-added & refactored TestUtilities
9 years ago
Dirk Lemstra
4c9e3dc4e7
Refactored TestImages again so they can be used in Attributes.
9 years ago
James Jackson-South
1bfd6bd4cf
Waaaay to kill testing speed!
9 years ago
James Jackson-South
dae509430b
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
b36d7a6ae9
Changed the test images from string into TestFile.
9 years ago
James Jackson-South
58428cc840
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
b9a63120c1
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
679c0e31c7
Fix #9
9 years ago
James Jackson-South
e6af16b081
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
89297f314d
A little bit better
9 years ago
James Jackson-South
f45bbecfa7
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
472350e5b8
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
7b09a06b68
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
0ed81b051a
Optimize and cleanup the jpeg decoder
TODO: Test single vs multiple threaded decoding.
9 years ago
James Jackson-South
b9d5b078be
Build Huffman tables once only.
9 years ago
James Jackson-South
2b2ec84e9c
Rename to ImageSharp
9 years ago
dirk
0a2de54539
Use jpeg instead of jpg.
Former-commit-id: c6c5334eaff8c57cd508e2388b9287fba8c635b3
Former-commit-id: be669dc053bd6ff9cf4d320bd8e6d5cc5eaa775d
Former-commit-id: 2cd963161aa5afe53e6f304c42d2fd4c57383ae7
9 years ago
dirk
c6f775877d
Refactored creating the output directory.
Former-commit-id: f23cc3264514e4c882d0a2ed41ffc23f9abb54ef
Former-commit-id: b9e32392f090e1fd3f0c534bad3939360d0dcecd
Former-commit-id: 6276382a7659cc1f3fed381c2cedcee611947da5
9 years ago
dirk
90b385ac05
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
a926d4900c
Cleanup [skip ci]
Former-commit-id: bff8258988879560d70275e17138ea80c4fcaa17
Former-commit-id: f88a9c5dc94265442f0f52c2595125e316e6efb0
Former-commit-id: 375b12dc3e97e8e6893f0f03869e8b525de4b07c
9 years ago
James Jackson-South
2b5424327c
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
f87d15efe2
Move adobe transforms to constants. [skip ci]
Former-commit-id: 9d3ce39703340dcc507fa395eae0888d2f239e47
Former-commit-id: 4cdf934c53f6addf88c7bb645804feea0b47c7e5
Former-commit-id: e29fcd94b179e8e377871eee0035d212145c5fe6
10 years ago
dirk
5366dc83e4
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
4516432915
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
dbfc7c865b
Fix resampler accuracy
Former-commit-id: 35f3471c93647fb9cf7927cd758321154f06cdbb
Former-commit-id: d90a5442769e89c655a4ada4a6ca36d07fa4bac5
Former-commit-id: 813a7f137bc4badeae043123dd51d02c8812e217
10 years ago