diff --git a/squish/LICENSE b/squish/LICENSE index 3a09086..9fdf26c 100644 --- a/squish/LICENSE +++ b/squish/LICENSE @@ -1,7 +1,7 @@ MIT License Copyright (c) 2006 Simon Brown -Copyright (c) 2018 Jan Solanti +Copyright (c) 2018-2019 Jan Solanti Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/squish/src/alpha.rs b/squish/src/alpha.rs index c5207be..264c0e8 100644 --- a/squish/src/alpha.rs +++ b/squish/src/alpha.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourblock.rs b/squish/src/colourblock.rs index ce32f04..97306d5 100644 --- a/squish/src/colourblock.rs +++ b/squish/src/colourblock.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourfit.rs b/squish/src/colourfit.rs index 599102f..70045c7 100644 --- a/squish/src/colourfit.rs +++ b/squish/src/colourfit.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourfit/cluster.rs b/squish/src/colourfit/cluster.rs index 50e2c4a..ca86fbd 100644 --- a/squish/src/colourfit/cluster.rs +++ b/squish/src/colourfit/cluster.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourfit/range.rs b/squish/src/colourfit/range.rs index 95a60a5..a6ae6fa 100644 --- a/squish/src/colourfit/range.rs +++ b/squish/src/colourfit/range.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourfit/single.rs b/squish/src/colourfit/single.rs index 5aec575..e6ef878 100644 --- a/squish/src/colourfit/single.rs +++ b/squish/src/colourfit/single.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourfit/single_lut.rs b/squish/src/colourfit/single_lut.rs index b0ec513..a89dfa6 100644 --- a/squish/src/colourfit/single_lut.rs +++ b/squish/src/colourfit/single_lut.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/colourset.rs b/squish/src/colourset.rs index b3ac922..08def42 100644 --- a/squish/src/colourset.rs +++ b/squish/src/colourset.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/lib.rs b/squish/src/lib.rs index 16476e7..21fce1e 100644 --- a/squish/src/lib.rs +++ b/squish/src/lib.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/math.rs b/squish/src/math.rs index 5c7f41d..252da4e 100644 --- a/squish/src/math.rs +++ b/squish/src/math.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/math/vec3.rs b/squish/src/math/vec3.rs index c59d8c1..9a79202 100644 --- a/squish/src/math/vec3.rs +++ b/squish/src/math/vec3.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish/src/math/vec4.rs b/squish/src/math/vec4.rs index 66fa720..e6f5128 100644 --- a/squish/src/math/vec4.rs +++ b/squish/src/math/vec4.rs @@ -1,5 +1,5 @@ // Copyright (c) 2006 Simon Brown -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish_cli/LICENSE b/squish_cli/LICENSE index 55acbb9..b9982f4 100644 --- a/squish_cli/LICENSE +++ b/squish_cli/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 Jan Solanti +Copyright (c) 2018-2019 Jan Solanti Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/squish_cli/src/image/jpeg.rs b/squish_cli/src/image/jpeg.rs index f128371..9082c6f 100644 --- a/squish_cli/src/image/jpeg.rs +++ b/squish_cli/src/image/jpeg.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish_cli/src/image/mod.rs b/squish_cli/src/image/mod.rs index 1af26da..ad50075 100644 --- a/squish_cli/src/image/mod.rs +++ b/squish_cli/src/image/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish_cli/src/image/png.rs b/squish_cli/src/image/png.rs index c9a20e0..493c724 100644 --- a/squish_cli/src/image/png.rs +++ b/squish_cli/src/image/png.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the diff --git a/squish_cli/src/main.rs b/squish_cli/src/main.rs index 50c5c20..76870b6 100644 --- a/squish_cli/src/main.rs +++ b/squish_cli/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2018 Jan Solanti +// Copyright (c) 2018-2019 Jan Solanti // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the @@ -208,7 +208,7 @@ fn parallel_compress(format: Format, image: &RawImage, buf: &mut [u8], params: P // get position in source image let sx = 4 * x + px; let sy = 4 * y + py; - + // enable pixel if within bounds if sx < image.width && sy < image.height { // copy pixel value