profile
viewpoint
Lilith River lilith Imazen Aurora, CO Making web servers suck less at image handling since 2007. Currently building http://www.imageflow.io to solve that problem for all platforms and languages

imazen/reunion 38

Repeatable, evidence-based expense and income accounting

imazen/hardwired 23

Hardwired - A 'NonCMS' for coders that applies the DRY and KISS principles to both content and code.

lilith/cropimage 13

CropImage.NET V5 - The replacement for WebCropImage V4.2

DustyTools/fotofly 10

A comprehensive C# library for reading and writing metadata stored in jpg photos using WPF and the Windows Imaging Component. Includes support for Windows Live Photo Gallery People Tags, GPS Coordinates and most EXIF, XMP & IPTC properties.

imazen/hardwired-sample-minimal 1

An absurdly minimal example of a site running Hardwired

lilith/AForge.Nuget 1

Scripts for creating and uploading NuGet packages of the AForge framework

issue commentimazen/imageflow-dotnet-server

Signatures implementation has some flaws

Thank you for the detailed and thoughtful issue.

A few notes: Querystring parameters aren't the only thing that could be used in a DOS attack; S3 and Azure and other blob providers could also be overwhelmed causing excessive HTTP traffic. We might need an even more subtle approach to support CSS.

There are also cases where request signing is used to protect something else, like S3/Azure access, rather than querystring commands.

I'm not sure what the idea solution/design would be, but I will be thinking about it. Please do share any comments or thoughts.

AlexMedia

comment created time in 9 hours

issue commentimazen/imageflow

Support for using imageflow_server with private aws buckets

No, you'll want to look in the readme and examples folder of https://github.com/imazen/imageflow-dotnet-server

There are two examples with Docker, so just copy/paste and edit.

On Sat, Oct 17, 2020, 10:28 PM vino notifications@github.com wrote:

I guess I'll give that a try. The setup instructions are the same as in the Readme https://github.com/imazen/imageflow/blob/main/README.md?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/543#issuecomment-711114949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH7OQDTQXYO7XVOZ6SLSLJVIFANCNFSM4SUYOXKQ .

vino-jasuba

comment created time in 2 days

issue commentimazen/imageflow

Support for using imageflow_server with private aws buckets

Not yet, but Imageflow .NET Server does and it runs on docker.

On Sat, Oct 17, 2020, 8:31 PM vino notifications@github.com wrote:

Does imageflow support retrieval of images from private S3 buckets using either an authorization string or a pre-signed URL?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH6ANBITCIQWMWZN6TLSLJHPXANCNFSM4SUYOXKQ .

vino-jasuba

comment created time in 2 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha f4f78273d636f541b252daa098531ca6dfe1ce63

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 4 days

push eventimazen/imageflow

anshul

commit sha 768fd17676514020b63c608bd3aeafb047230c99

add rust test for weight.rs

view details

Lilith River

commit sha ce56f3ba7401c60a2672adb25a4b30852f2d34f1

Merge pull request #541 from anshulrgoyal/main Add test for weight.rs

view details

push time in 4 days

PR merged imazen/imageflow

Add test for weight.rs

Add test.

+932 -474

0 comment

5 changed files

anshulrgoyal

pr closed time in 4 days

issue commentimazen/imageflow

Problem converting from PNG to JPEG (without scaling)

Does this still occur if you set &bgcolor=white in the command string?

aheintz

comment created time in 6 days

issue commentimazen/imageflow-dotnet

ImageResizer vs ImageFlow (performance and image quality)

Yes, it is.

On Tue, Oct 13, 2020, 11:52 PM Quentin notifications@github.com wrote:

If you set jpeg.turbo=true you'll see a slightly fairer comparison.

I hope it's ok to piggyback a small related question on this issue - is the jpeg.turbo=true option the same as using LibJpegTurboEncoder instead of MozJpegEncoder in the call to EncodeToBytes?

As a licensed ImageResizer user since v3 and a Kickstarter backer of Imageflow I'm excited to be able to start integrating it into my .Net system. Thanks for all your hard work!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow-dotnet/issues/21#issuecomment-708173646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH4PRUD2KBRYTXOJKHDSKU4DFANCNFSM4SM55FAQ .

olink78

comment created time in 6 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha 194298d4559464be1b5ca7e8bc22ffcff8690525

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 7 days

push eventimazen/imageflow

Lilith River

commit sha 3d3b04543d065a242538a3d452557a89fc8ba7e1

cargo update -p lodepng time zip flate2 chrono cc dssim

view details

push time in 7 days

created tagimazen/imageflow-dotnet

tagv0.7.7

.NET wrapper for Imageflow, the image processing library for servers.

created time in 8 days

release imazen/imageflow-dotnet

v0.7.7

released time in 8 days

push eventimazen/imageflow-dotnet

Lilith River

commit sha 107cfef081ef56f0911d95240d53e8a40b6ec6ad

Add BuildJobResult.PerformanceDetails

view details

push time in 8 days

issue commentimazen/imageflow-dotnet

ImageResizer vs ImageFlow (performance and image quality)

Performance

In your code you had set FitMode.None instead of FitMode.Max on ImageResizer, so different images were being produced.

Imageflow is optimized for multiple simultaneous jobs, which is a much more common scenario on a web server than sequential usage.

It's also doing far more advanced compression work than ImageResizer, which is why you don't see a larger speed difference. If you set jpeg.turbo=true you'll see a slightly fairer comparison. Compressing the final image monopolizes the time spent on the image, which is why you see such dramatic file size wins.

Regardless, using Parallel.For, Imageflow comes out significantly ahead of ImageResizer.

Using ImageResizer to resize input.jpg -> imageresizer*.jpg in qualities 90..100 using w=2560&h=1600&mode=max&format=jpg with parallel=True
Completed in 00:00:02.8624186
Using Imageflow to resize input.jpg -> imageflow_jpeg_turbo*.jpg in qualities 90..100 using w=2560&h=1600&mode=max&format=jpg&jpeg.turbo=true with parallel=True
Completed in 00:00:01.4434167
Using Imageflow to resize input.jpg -> imageflow*.jpg in qualities 90..100 using w=2560&h=1600&mode=max&format=jpg with parallel=True
Completed in 00:00:01.6878884

Tests.zip

Imageflow is also much better at thumbnailing - if you change the MaxWidth to 256, ImageFlow is almost ten times faster than ImageResizer.

Using ImageResizer to resize input.jpg -> imageresizer*.jpg in qualities 90..100 using w=256&mode=max&format=jpg with parallel=True
Completed in 00:00:01.7149397
Using Imageflow to resize input.jpg -> imageflow*.jpg in qualities 90..100 using w=256&mode=max&format=jpg with parallel=True
Completed in 00:00:00.1877518

Quality

Imageflow makes more correct choices when it comes to scaling images. These defaults can be changed to match ImageResizer, but over a larger sample of images you should notice Imageflow's defaults are better.

You might play around with these settings to see what you like best.

  • down.filter=mitchell will create slightly sharper images
  • f.sharpen=15 will create much sharper images
  • down.colorspace=srgb will let shadows overwhelm light areas the same way ImageResizer does, which creates a more dramatic look at the expense of image highlights.

Also, Imageflow uses completely different jpeg codecs than ImageResizer, so jpeg.quality Imageflow values do not correspond directly with quality values from ImageResizer. You will see much better file sizes regardless (for example, Imageflow at quality 100 is 1.26MB while ImageResizer at 100 is 1.74MB), but you may not want to compare, say, quality=95 to jpeg.quality=95, because they're completely different codecs.

I would need more detail from you about what kind of quality differences you perceive in order to narrow it down further.

I've attached the code I used to compare them.

olink78

comment created time in 8 days

PR closed imazen/imageflow

Convert CPP tests in c_components to rust tests.

Description

// Todo

+253 -178

0 comment

7 changed files

anshulrgoyal

pr closed time in 8 days

MemberEvent

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha 67edbc43628e12094cd741deea2a7ecbfe025d89

Update README.md

view details

push time in 11 days

created tagimazen/imageflow-dotnet-server

tagv0.3.11

A super-fast image server for ASP.NET Core

created time in 18 days

release imazen/imageflow-dotnet-server

v0.3.11

released time in 18 days

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha 04860102779d803ab34f5e807295209063c3cfb1

Include base exception message when blobs are not found

view details

push time in 18 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha fb7d715dd9102b9e10ab39faa1a5a1928aa10417

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 19 days

push eventimazen/imageflow

Lilith River

commit sha 2f1fa25c8436f74611486d79d9908c82e4bc3f76

Allowlist spelling

view details

push time in 19 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha c141c67cffd006ccbe8782c38e7e1efbac9bb11f

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 20 days

push eventimazen/imageflow

Lilith River

commit sha db327f1df7116430a69ec94f99b6dbf77b93d08f

Add new words to dictionary

view details

Lilith River

commit sha 3dbe6c7676840c5bad8d143d57f154b6e3f0ad89

Upgrade to check-spelling 0.0.16-alpha

view details

Lilith River

commit sha d52390ca497ed28e5a73ff1952f508531a69572a

c_components: delete useless test_integration.cpp

view details

Lilith River

commit sha 1ec9d40471d2a185c00d9d347e48dd53f00e0faa

c_components: delete io.c and test_io.cpp

view details

Lilith River

commit sha 21d6e3e4190da82461c8b295778663216e79a080

c_components_tests: list tests before running

view details

Lilith River

commit sha addf246c799188949385fc2099ba6c9a51c2008d

Fix IDCT scaling code generation for 3x3 kernel Zero weights at window crossings were causing early truncation of weight arrays

view details

Lilith River

commit sha f27d11d29d5514de97a874a0323133887bb7caba

Add test of 1x1 IDCT linear function

view details

push time in 20 days

push eventimazen/imageflow

Lilith River

commit sha fee45010545a0c06e2baca567acb764fc88c73db

graphics.c: Fix windowing function to be more exact and prevent asymmetric results

view details

Lilith River

commit sha f58a48cfe80a792b8fe366569565e528ac7ad58a

weights.rs: Fix windowing function to be more exact and prevent asymmetric results

view details

Lilith River

commit sha db327f1df7116430a69ec94f99b6dbf77b93d08f

Add new words to dictionary

view details

Lilith River

commit sha 3dbe6c7676840c5bad8d143d57f154b6e3f0ad89

Upgrade to check-spelling 0.0.16-alpha

view details

Lilith River

commit sha d52390ca497ed28e5a73ff1952f508531a69572a

c_components: delete useless test_integration.cpp

view details

Lilith River

commit sha 1ec9d40471d2a185c00d9d347e48dd53f00e0faa

c_components: delete io.c and test_io.cpp

view details

Lilith River

commit sha 21d6e3e4190da82461c8b295778663216e79a080

c_components_tests: list tests before running

view details

Lilith River

commit sha 022f9b8ea9ca52a9c53d432b5f9e8db3b8c8628e

Merge branch 'main' into rustify

view details

push time in 25 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha 53af0022b3151e0988858002fbe1e04abdab2883

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha fee45010545a0c06e2baca567acb764fc88c73db

graphics.c: Fix windowing function to be more exact and prevent asymmetric results

view details

Lilith River

commit sha f58a48cfe80a792b8fe366569565e528ac7ad58a

weights.rs: Fix windowing function to be more exact and prevent asymmetric results

view details

push time in 25 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha a708fa9b1ed063c1419f8c9d307693d9550a6256

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha cf3f3f4d4a0b32bebaa2037c10a3ff07b976d756

Fix tests for serializing &decoder.min_precise_scaling_ratio

view details

Lilith River

commit sha 6f2b1cf102c97321a8d4d2b7b98e38ccf5a0f38e

Merge branch 'main' into rustify

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha cf3f3f4d4a0b32bebaa2037c10a3ff07b976d756

Fix tests for serializing &decoder.min_precise_scaling_ratio

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha dce7eb92ac2308feffe72ad09df840440926b914

Update compare.rb for imageflow_tool (draft)

view details

Lilith River

commit sha cc3c387e86896f2eb7cf279f76ea5de41f4098ea

Add tests for serializing &decoder.min_precise_scaling_ratio

view details

Lilith River

commit sha 18c9c59f40b33d1aa40e7cf88925c88d5cfe4b5f

Remove trailing whitespace from weights.txt

view details

Lilith River

commit sha 6e0cd3ac08b5b721aa546a90f7694fdd4d3452a2

Merge branch 'main' into rustify

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha dce7eb92ac2308feffe72ad09df840440926b914

Update compare.rb for imageflow_tool (draft)

view details

Lilith River

commit sha cc3c387e86896f2eb7cf279f76ea5de41f4098ea

Add tests for serializing &decoder.min_precise_scaling_ratio

view details

Lilith River

commit sha 18c9c59f40b33d1aa40e7cf88925c88d5cfe4b5f

Remove trailing whitespace from weights.txt

view details

push time in 25 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha 37fa5beb29ec6b4cb0bb09918ba3a75a8c9b57d1

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha 9e17d28b427b2efe10a86ac5c5bb86915cb53e7b

Delete dead files

view details

Lilith River

commit sha 92b70b973d6856439045dad80ca758b8c60ad65b

Reformat codecs_jpeg_idct_fast.c

view details

Lilith River

commit sha 500edb7ceb99c64c8db5d703302d7cd62735ff8f

Fix codecs_jpeg_idct_fast from reformat (redordered includes broke it)

view details

Lilith River

commit sha 25c31b13a19d5f33c7558b41086c0482d8997139

Improve reference weights file syntax for clarity

view details

Lilith River

commit sha ba51c4e71ce6a7803e1555f8bbbe89bf8ebbd6c3

Add IDCT scaling sets to reference_weights.txt

view details

Lilith River

commit sha abe0d722a9a89dc6326de7f20cae11951ae7b694

Generate weights.txt with CRLF and no trailing whitespace

view details

Lilith River

commit sha 3f967a926c7a5df5bd518d0b8c38095702925dad

Update scope.sh to use imageflow_tool and generate html

view details

Lilith River

commit sha 73702f3ab7a72f7ae3c6cbcdeaf5d972a4c4738d

Add &up.colorspace=srgb|linear command (needed for ResampleScope)

view details

Lilith River

commit sha 005023f92f716fde47f66919808aac453c5c6583

Merge branch 'main' into rustify

view details

push time in 25 days

push eventimazen/imageflow

Lilith River

commit sha 92b70b973d6856439045dad80ca758b8c60ad65b

Reformat codecs_jpeg_idct_fast.c

view details

Lilith River

commit sha 500edb7ceb99c64c8db5d703302d7cd62735ff8f

Fix codecs_jpeg_idct_fast from reformat (redordered includes broke it)

view details

Lilith River

commit sha 25c31b13a19d5f33c7558b41086c0482d8997139

Improve reference weights file syntax for clarity

view details

Lilith River

commit sha ba51c4e71ce6a7803e1555f8bbbe89bf8ebbd6c3

Add IDCT scaling sets to reference_weights.txt

view details

Lilith River

commit sha abe0d722a9a89dc6326de7f20cae11951ae7b694

Generate weights.txt with CRLF and no trailing whitespace

view details

Lilith River

commit sha 3f967a926c7a5df5bd518d0b8c38095702925dad

Update scope.sh to use imageflow_tool and generate html

view details

Lilith River

commit sha 73702f3ab7a72f7ae3c6cbcdeaf5d972a4c4738d

Add &up.colorspace=srgb|linear command (needed for ResampleScope)

view details

push time in 25 days

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha 746d3d8bdab92d9f676a73800f94219a87f57ec3

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in a month

push eventimazen/imageflow

Lilith River

commit sha 2e88439f9fa7b348152ceedbee1343903fbd64cd

c_components: delete useless test_integration.cpp

view details

Lilith River

commit sha 32675e9ce3215d5c933487f25364e6ec98fb7d2e

c_components: delete io.c and test_io.cpp

view details

Lilith River

commit sha 3bad6503d5a52716de85e183ad0faba0e991fe15

c_components_tests: list tests before running

view details

Lilith River

commit sha cdfae9045c446b17705a59c634c7652affc1ef83

Upgrade to check-spelling 0.0.16-alpha

view details

Lilith River

commit sha 95af5fba179d555e50c70e2857a86c94eafd3213

Add new words to dictionary

view details

push time in a month

push eventimazen/imageflow

Lilith River

commit sha 9e17d28b427b2efe10a86ac5c5bb86915cb53e7b

Delete dead files

view details

push time in a month

push eventimazen/imageflow

Nathanael Jones

commit sha 946537ba3874f3979b01cb1d1ef2d5a5798009e2

Add draft implementation of scaling weight calculation

view details

Lilith River

commit sha 7e425685d5146a0c1bd9b949a249163b0a52e146

spelling: add whitelists

view details

Lilith River

commit sha f64995a21332ff874f879b1b293f65d6ce492a8c

Switch optimization level to 2 for cargo test

view details

Lilith River

commit sha 6da17362f4ff0c208fec7c60c45a839375620f69

Add .idea/dictionaries/lilith

view details

Lilith River

commit sha bfc61d6ef0c43de7dcc9e84fd2e66e39e95b15c3

Rustify backend IO

view details

Lilith River

commit sha 081fabb3f249152d8056efe1db19c23dd6a6179d

Implement retry for URL fetching in unit tests

view details

Lilith River

commit sha 3f242c1fd45c5b3dbbd68714a99637d137a61f56

Update benchmark with jpegtinysize test

view details

Lilith River

commit sha f51f3bd7d7bb4148e84ff1fdacd4337fdfcfeca6

cargo update serde hyper mockito libc reqwest regex

view details

Lilith River

commit sha 73caffbee8bcf4046f158ce7869609f159169385

Add v1/get_version_info endpoint

view details

Lilith River

commit sha 35c53b5d1c0c5cfd63ca163051efe71ca7315307

Nuget Package .props: Remove packages.config existence condition

view details

Lilith River

commit sha 2f2ac41e43bdb23fcbe3c64c954ec521a4c248bd

Rename .props -> .targets

view details

Lilith River

commit sha e2a6d8a162b71fd86ebdeba154bb2b0eeaf31b4c

Update test_pack.sh

view details

Lilith River

commit sha 3eea5aac8f27bf781b9551d367332aca37b69b2b

Add watermarks support to command_string node

view details

Lilith River

commit sha 51d01d13c4addaf5b1d4b327884bcf5e2e25d7c9

Create 618f622b0f99f2500bd3dc383f7a2cef48b72e76.txt

view details

Lilith River

commit sha 0859c3bf2abc4d7651115c782f331a3c80710361

Fix bug in watermark layout

view details

Lilith River

commit sha 45c17413cd4a242b5afe7457980844f2f89b1aeb

Add Watermark.min_canvas_width and .min_canvas_height

view details

Lilith River

commit sha 4f243abcfd6742497ebbb54a8f5bd368e123f857

cargo update rgb lcms2 http

view details

Lilith River

commit sha 3a2124edcf813b047510ef3dafbcfbb4036f565e

Whitelist spellings

view details

Lilith River

commit sha 9987ff686f849b0863ac9627ccef7bb2db80ad09

Merge branch 'master' of https://github.com/imazen/imageflow

view details

Lilith River

commit sha 1e65a9a670e8cc12661ef255598f4f50bcfec736

cargo update digest sha2 serde serde_json zip

view details

push time in a month

delete branch imazen/imageflow

delete branch : master

delete time in a month

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha e77254619fb592f5beba9e82560287333c9deae4

Add ExampleDockerDiskCache project

view details

push time in a month

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha 36dc78ae15c41382d10c580dd7e37cd14ba7615e

ExampleDocker: Upgrade to Imageflow.Server v0.3.10

view details

push time in a month

issue commentimazen/imageflow

Make NuGet binaries install on ubuntu 20.04

The Ubuntu 16.04 nuget package now targets linux-x64 and should work across all linux platforms that have GLIBC 2.23 or higher.

Fixed in v1.4.11-rc51

lilith

comment created time in a month

issue closedimazen/imageflow

Binaries for ubuntu 20.04

I was wondering when binaries for ubuntu 20.04 will become available, since it is a new LTS release.

closed time in a month

israellot

issue commentimazen/imageflow

Binaries for ubuntu 20.04

The Ubuntu 16.04 nuget package now targets linux-x64 and should work across all linux platforms that have GLIBC 2.23 or higher.

israellot

comment created time in a month

push eventimazen/imageflow-dotnet

Lilith River

commit sha c287cc814c8582e78c8bd868e14fb20299135e47

Readme: Don't list ubuntu 18.04 package, 16.04 will work for all

view details

push time in a month

created tagimazen/imageflow-dotnet-server

tagv0.3.10

A super-fast image server for ASP.NET Core

created time in a month

release imazen/imageflow-dotnet-server

v0.3.10

released time in a month

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha 423ab9a63760f783e24ea263514f84de530f37e9

Upgrade to Imageflow 1.4.11-rc51 so all linux targets can be matched

view details

Lilith River

commit sha bb6da8a3a9a0ca523b59fefaf6cc3b9f38b01f70

ExampleDocker: swtich to ubuntu 20.04

view details

push time in a month

created tagimazen/imageflow

tagv1.4.11-rc51

High-performance image manipulation for web servers. Includes imageflow_server, imageflow_tool, and libimageflow

created time in a month

release imazen/imageflow

v1.4.11-rc51

released time in a month

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha 63783c1431de3bc0713d615418067e41dfca62c1

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in a month

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha 27d6ddc9d59724b4481f6dd8d44e4e19c562be7b

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in a month

push eventimazen/imageflow

Lilith River

commit sha 16873d7816046754c75dc6a0b968f600f7caf6fe

Change ubuntu16.04 nuget package to target RID linux-x64 instead, and rename accordingly.

view details

push time in a month

issue commentimazen/imageflow

Problems with deployment as azure webapp

Documentation would be lovely!

sanderkooger

comment created time in a month

push eventimazen/imageflow

Lilith River

commit sha e2246a5a3efd1abdf4eacda1e833a4d8759507bd

cargo update -p hyper cbindgen time smallvec rgb rustface imgref

view details

push time in a month

issue closedimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

We are starting to use Imageflow.net within an ASP.net application. Imageflow is set up and working fine with our development and test servers, but when deployed to our production servers, which are very similarly configured VMs, we started receiving the following error.

Looking for "imageflow.dll" Subdir="x64", IsUnix=False, IsDotNetCore=False Before searching: Unable to load DLL 'imageflow': The specified module could not be found. (Exception from HRESULT: 0x8007007E) File not found: C:\Websites\demo\x64\imageflow.dll
File not found: C:\Websites\demo\imageflow.dll
File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\x64\imageflow.dll
File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\imageflow.dll
File not found: C:\Websites\demo\runtimes\win-x64\native\x64\imageflow.dll
File not found: C:\Websites\demo\runtimes\win-x64\native\imageflow.dll
File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\runtimes\win-x64\native\x64\imageflow.dll
File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\runtimes\win-x64\native\imageflow.dll
   at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflow_abi_ver_major, UInt32 imageflow_abi_ver_minor)
   at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func`1 invokingOperation, IEnumerable`1 customSearchDirectories)

Stack Trace:    at Imageflow.Bindings.LoadLogger.RaiseException()
   at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func`1 invokingOperation, IEnumerable`1 customSearchDirectories)
   at Imageflow.Bindings.JobContextHandle..ctor()
   at Imageflow.Bindings.JobContext..ctor()
   at Imageflow.Fluent.ImageJob.<GetImageInfo>d__50.MoveNext()

C:\Websites\demo is the application root and the 64 bit runtime is in the C:\Websites\demo\bin folder. I have verified that the Application Pools are 64 bit only on all servers.

closed time in a month

thecaptncode

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

I don't think it auto-installs on WS2008R2, no.

thecaptncode

comment created time in a month

issue commentimazen/imageflow-dotnet-server

AWS ServiceURL support

I've added an overload that lets you provide your own AmazonS3Config instance. I just released this as v0.3.9 -> https://github.com/imazen/imageflow-dotnet-server/releases/tag/v0.3.9

danbeneventano

comment created time in a month

created tagimazen/imageflow-dotnet-server

tagv0.3.9

A super-fast image server for ASP.NET Core

created time in a month

release imazen/imageflow-dotnet-server

v0.3.9

released time in a month

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha 9c693e72d1a4835a3da68d9fe8683bd5a02d9bec

Update readme

view details

Lilith River

commit sha 744ac7a1ca29237a01ccccf921f5afb116e8e423

Update Imageflow.Server reference in ExampleDocker

view details

Lilith River

commit sha d6c344d353493735c0f7b9c2bef7afe10de629b8

Update AWSSDK.S3 dependency

view details

Lilith River

commit sha 1c71eb1a593a3a6a7e6369bd7bd4c7bd410e634a

Storage.S3: Allow customizing the AmazonS3Config

view details

Lilith River

commit sha 8a9e67b77113e8d5483e863aff44909e7180bd6e

Upgrade to Imageflow.Net 0.7.6

view details

push time in a month

created tagimazen/imageflow-dotnet

tagv0.7.6

.NET wrapper for Imageflow, the image processing library for servers.

created time in a month

release imazen/imageflow-dotnet

v0.7.6

released time in a month

push eventimazen/imageflow-dotnet

Lilith River

commit sha 3fd6a6998f171344d2922f4142f3fa2fac215494

Fix bitness and crt error detection on windows

view details

push time in a month

created tagimazen/imageflow-dotnet

tagv0.7.5

.NET wrapper for Imageflow, the image processing library for servers.

created time in a month

release imazen/imageflow-dotnet

v0.7.5

released time in a month

push eventimazen/imageflow-dotnet

Lilith River

commit sha 2d4f642b11698017d683efee96b2a9ce5986ebcb

Explain when imageflow.dll is the wrong bitness or when the C Runtime is missing

view details

push time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

The C Runtime is generally installed on Windows by default. What version of Windows were you running? Any idea why the Universal CRT was missing?

thecaptncode

comment created time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

Or, a fourth reason - you don't have the C Runtime installed.

Please take this step separately so we know what resolved the problem. https://aka.ms/vs/16/release/vc_redist.x64.exe

thecaptncode

comment created time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

It's trying to load the dll from the right location at least. Which means it's either a corrupt file, the wrong bitness, or doesn't have the right NTFS permissions.

On Mon, Sep 21, 2020, 7:53 AM thecaptncode notifications@github.com wrote:

I verified that both dlls are in the ~/bin folder:

07/05/2020 03:32 PM 4,944,384 imageflow.dll 09/21/2020 07:14 AM 173,056 Imageflow.Net.dll

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow-dotnet/issues/20#issuecomment-696129505, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH7XADC2OGJTOMUVCI3SG5LHPANCNFSM4RTZ42HQ .

thecaptncode

comment created time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

Can you re-verify that imageflow.dll is present?

On Mon, Sep 21, 2020, 5:31 AM thecaptncode notifications@github.com wrote:

Yes, I had to copy the imageflow.dll manually. It did not copy automatically.

I tried the updated DLL and it did not work. Here is the error I received.

Looking for "imageflow.dll" RID="win-x64", IsUnix=False, IsDotNetCore=False RelativeSearchPath="C:\Websites\demo\bin" Before searching: Unable to load DLL 'imageflow': The specified module could not be found. (Exception from HRESULT: 0x8007007E) File not found: C:\Websites\demo\bin\x64\imageflow.dll Error The specified module could not be found loading imageflow from C:\Websites\demo\bin\imageflow.dll File not found: C:\Websites\demo\bin\runtimes\win-x64\native\imageflow.dll File not found: C:\Websites\demo\x64\imageflow.dll File not found: C:\Websites\demo\imageflow.dll File not found: C:\Websites\demo\runtimes\win-x64\native\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00a3d764_0890d601\x64\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00a3d764_0890d601\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00a3d764_0890d601\runtimes\win-x64\native\imageflow.dll at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflow_abi_ver_major, UInt32 imageflow_abi_ver_minor) at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories)

Stack Trace: at Imageflow.Bindings.LoadLogger.RaiseException() at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories) at Imageflow.Bindings.JobContextHandle..ctor() at Imageflow.Bindings.JobContext..ctor() at Imageflow.Fluent.ImageJob.<GetImageInfo>d__50.MoveNext()

Thank you for looking into this so quickly yesterday.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow-dotnet/issues/20#issuecomment-696057695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LHYY4MUAOSXAYFH5PBLSG42S5ANCNFSM4RTZ42HQ .

thecaptncode

comment created time in a month

issue commentimazen/imageflow

Watermark support for server

Yes I plan to support watermarks in the future, specifically when I rewrite imageflow_server in a modern framework. In the meantime I suggest using Imageflow .NET Server, as that one is far more polished.

On Sun, Sep 20, 2020, 9:55 PM Shao Hang, Weng notifications@github.com wrote:

Hi, I love your project! I'm a rust dev and currently working on an actix-web server. There's no document for imageflow-core so I'm currently running the imageflow independently. I'm wondering if you guys will support watermark funtionality for imageflow-server in the future?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH57VUR5V3QF3RKB42LSG3FDPANCNFSM4RUBTJRA .

NorthFoxz

comment created time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

Okay. I think I've added support for Web Site projects in https://github.com/imazen/imageflow-dotnet/releases/tag/v0.7.4

Can you report back and let me know how it goes? I tried setting up a web site project but the Imageflow.NativeRuntime.* packages aren't even able to copy imageflow.dll into the /bin folder. Did you copy it manually?

thecaptncode

comment created time in a month

created tagimazen/imageflow-dotnet

tagv0.7.4

.NET wrapper for Imageflow, the image processing library for servers.

created time in a month

release imazen/imageflow-dotnet

v0.7.4

released time in a month

push eventimazen/imageflow-dotnet

Lilith River

commit sha 1782ee50e0feffb111685ee50e344ffeba5ed07b

Fix bug in 0.7.3 that omits the filename in runtimes/:rid:/native subdirs

view details

push time in a month

created tagimazen/imageflow-dotnet

tagv0.7.3

.NET wrapper for Imageflow, the image processing library for servers.

created time in a month

release imazen/imageflow-dotnet

v0.7.3

released time in a month

push eventimazen/imageflow-dotnet

Lilith River

commit sha 9014cf1dce1e4f34321ea59a74e20cad050aa217

Refactor library search paths to use RelativeSearchPath first and do fewer wasteful searches

view details

push time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

Can you confirm the exact path of imageflow.dll on the production server?

On Sun, Sep 20, 2020, 6:43 PM thecaptncode notifications@github.com wrote:

Reading your reply made me realize I misspoke an important detail. This is a Web Site Project and not a Web Application. My understanding is they are always targeted to "Any CPU" put you control 64 vs 32 bit by the application pool. The application pool on the Dev and Test servers as well as the production servers are set to not allow 32 bit.

Also, I am running 0.7.2 of imageflow.net and ImageFlow.NativeRuntime.win-x86_64 1.4.10-rc50

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow-dotnet/issues/20#issuecomment-695859206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH3JMOLX6LTVAC2OKQTSG2OSNANCNFSM4RTZ42HQ .

thecaptncode

comment created time in a month

issue commentimazen/imageflow-dotnet

Imageflow Module not found when deployed to a production server

Have you set the solution to build as Any CPU or as x64? The latter may be required.

On Sun, Sep 20, 2020, 1:36 PM thecaptncode notifications@github.com wrote:

We are starting to use Imageflow.net within an ASP.net application. Imageflow is set up and working fine with our development and test servers, but when deployed to our production servers, which are very similarly configured VMs, we started receiving the following error.

Looking for "imageflow.dll" Subdir="x64", IsUnix=False, IsDotNetCore=False Before searching: Unable to load DLL 'imageflow': The specified module could not be found. (Exception from HRESULT: 0x8007007E) File not found: C:\Websites\demo\x64\imageflow.dll File not found: C:\Websites\demo\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\x64\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\imageflow.dll File not found: C:\Websites\demo\runtimes\win-x64\native\x64\imageflow.dll File not found: C:\Websites\demo\runtimes\win-x64\native\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\runtimes\win-x64\native\x64\imageflow.dll File not found: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demo\07ba4e9d\500187f\assembly\dl3\ab715b07\00118335_6882d601\runtimes\win-x64\native\imageflow.dll at Imageflow.Bindings.NativeMethods.imageflow_context_create(UInt32 imageflow_abi_ver_major, UInt32 imageflow_abi_ver_minor) at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories)

Stack Trace: at Imageflow.Bindings.LoadLogger.RaiseException() at Imageflow.Bindings.NativeLibraryLoader.FixDllNotFoundException[T](String basename, Func1 invokingOperation, IEnumerable1 customSearchDirectories) at Imageflow.Bindings.JobContextHandle..ctor() at Imageflow.Bindings.JobContext..ctor() at Imageflow.Fluent.ImageJob.<GetImageInfo>d__50.MoveNext()

C:\Websites\demo is the application root and the 64 bit runtime is in the C:\Websites\demo\bin folder. I have verified that the Application Pools are 64 bit only on all servers.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow-dotnet/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH4LRCSGB6PBTHEO3ODSGZKVDANCNFSM4RTZ42HQ .

thecaptncode

comment created time in a month

issue commentimazen/imageflow

Getting "Error 9: Wrong input color space on transform" transforming jpeg

Use b.BuildCommandString instead. You're decoding the image before applying the ignore_icc_errors command.

On Thu, Sep 17, 2020, 10:18 AM Anders Heintz notifications@github.com wrote:

Thanks for your quick reply!

This is the code I'm using and generates the same stacktrace as above.

            var client = httpClientFactory.CreateClient();
            var stream = await client.GetStreamAsync("https://media.cdn.storm.io/62/fa457334-0cd4-4839-ad6d-1808f921f5e6");
            await b.Decode(stream, false)
                .ResizerCommands("width=200&ignore_icc_errors=true")
                .EncodeToStream(output, false, new MozJpegEncoder(90))
                .Finish()
                .WithSecurityOptions(new SecurityOptions
                {
                    MaxFrameSize = new FrameSizeLimit(30000, 30000, 200),
                    MaxDecodeSize = new FrameSizeLimit(30000, 30000, 200),
                    MaxEncodeSize = new FrameSizeLimit(30000, 30000, 200)
                })
                .InProcessAndDisposeAsync();

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/512#issuecomment-694341907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH4RN5QY33YK5JU5I53SGIZFBANCNFSM4ROVP7GQ .

aheintz

comment created time in a month

issue commentimazen/imageflow

Getting "Error 9: Wrong input color space on transform" transforming jpeg

I tested ignore_icc_errors with that image and it worked. Could you share the full C# code you are using?

On Thu, Sep 17, 2020, 9:45 AM Anders Heintz notifications@github.com wrote:

Thanks for the response. I agree that it doesn't make sense. Unfortunately, &ignore_icc_errors=true doesn't make any difference (I'm using the .net dotnet library if that makes any difference, and are indeed using the ResizerCommands method).

I resolved my problem by using ImageMagick to correct the color profile if ImageFlow fails. It doesn't seem to be a terribly uncommon problem, I'm having quite a few images with this "error".

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/512#issuecomment-694323145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH4Y5BR5TLTV4P3YEDTSGIVKNANCNFSM4ROVP7GQ .

aheintz

comment created time in a month

push eventimazen/imageflow

Deployment Bot (from Travis CI)

commit sha a2c31f85bc13c2e2f456cbbbb57a49edd1c8e420

Deploy docs.imageflow.io to github.com/imazen/imageflow.git:gh-pages

view details

push time in a month

push eventimazen/imageflow

Lilith River

commit sha e9062665a6734112a0a474ac13d723086b17d94e

Add test for a RGB image with a CMYK profile attached

view details

Lilith River

commit sha 7679bdf6e5659ffe64efae1363b484511ad783bc

Stop using mozjpeg-sys turbojpeg_api

view details

Lilith River

commit sha d86c9b611e682e852c3953e0727c6928db484857

cargo update libc serde libz-sys reqwest chrono lodpng clap serde_json mozjpeg mozjpeg-sys mockito

view details

push time in a month

issue openedkornelski/mozjpeg-sys

Feature "turbojpeg_api" broken in latest mozjpeg-sys v0.10.11

cargo:warning=vendor/turbojpeg.c:61:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
cargo:warning= static THREAD_LOCAL char errStr[JMSG_LENGTH_MAX] = "No error";
cargo:warning=                     ^~~~
cargo:warning=vendor/turbojpeg.c: In function ‘my_output_message’:
cargo:warning=vendor/turbojpeg.c:89:41: error: ‘errStr’ undeclared (first use in this function); did you mean ‘strstr’?
cargo:warning=   (*cinfo->err->format_message) (cinfo, errStr);
cargo:warning=                                         ^~~~~~

Note that I can disable this feature now so I'm not blocked by this, but I thought you'd like to know.

created time in a month

issue closedimazen/imageflow

Getting "Error 9: Wrong input color space on transform" transforming jpeg

Transforming the image below returns an error (using the dotnet library), and I cannot really figure out why:

Imageflow.Bindings.ImageflowException: ImageMalformed: Error 9: Wrong input color space on transform (ObjectCreationError) at
imageflow_core/src/codecs/color_transform_cache.rs:126:197
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/codecs/color_transform_cache.rs#L126
imageflow_core/src/codecs/color_transform_cache.rs:196:152
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/codecs/color_transform_cache.rs#L196
imageflow_core/src/codecs/mozjpeg_decoder.rs:342:35
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/codecs/mozjpeg_decoder.rs#L342
imageflow_core/src/flow/nodes/codecs_and_pointer.rs:208:65
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/flow/nodes/codecs_and_pointer.rs#L208
imageflow_core/src/flow/execution_engine.rs:488:114
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/flow/execution_engine.rs#L488
imageflow_core/src/context.rs:284:59
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/context.rs#L284
imageflow_core/src/context_methods.rs:50:68
https://github.com/imazen/imageflow/blob/1a7e1eecd8f04cab4413b48c2bf8bd5bbf140f5d/imageflow_core/src/context_methods.rs#L50
Active node:
NodeDebugInfo {
    stable_id: 1,
    params: Json(
        Decode {
            io_id: 0,
            commands: None,
        },
    ),
    index: NodeIndex(1),
}


   at Imageflow.Bindings.JobContext.AssertReady()
   at Imageflow.Bindings.JobContext.SendJsonBytes(String method, Byte[] utf8Json)
   at Imageflow.Bindings.JobContext.Execute[T](T message)
   at Imageflow.Fluent.ImageJob.FinishAsync(JobExecutionOptions executionOptions, SecurityOptions securityOptions, CancellationToken cancellationToken)
   at Imageflow.Fluent.FinishJobBuilder.InProcessAndDisposeAsync()
   at ImageScalingService.Controllers.ImageScalingController.GetImage(Int32 clientId, String requestedImageGuid, Boolean downloadContent, ResizeInstructions resizeInstructions) in /Users/heintz/Projects/storm/ImageScalingService/ImageScalingService/src/Controllers/ImageScalingController.cs:line 450

The image: https://media.cdn.storm.io/62/fa457334-0cd4-4839-ad6d-1808f921f5e6

closed time in a month

aheintz

issue commentimazen/imageflow

Getting "Error 9: Wrong input color space on transform" transforming jpeg

This looks like an sRGB image with a CMYK color profile attached. Clearly that doesn't make sense, so Imageflow throws this error.

To ignore the error, use &ignore_icc_errors=true in the command string.

aheintz

comment created time in a month

issue commentimazen/imageflow

Hard Coded Containers in Azure

https://github.com/imazen/imageflow-dotnet-server/issues/23

hn1

comment created time in a month

issue closedimazen/imageflow

Hard Coded Containers in Azure

When using ImageFlow, it seems one has to hard code the Azure Containers in Startup of an MVC Core application. As we are creating containers dynamically, is there any way one can avoid this? Thanks

closed time in a month

hn1

issue closedimazen/imageflow-dotnet-server

Disk Caching

I've been digging into a lot of the disk caching source code so that I can better understand how it operates and how to mold it to our needs. I understand it mostly, but not entirely:

  1. I noticed that on application start that ClassicDiskCache.StartAsync() is what calls CleanupManager.CleanAll(), which in turn adds the entirety of the cache directory recursively to the queue list for cleanup processing. However, once the queue processes the list, and each item is removed from the queue, the items that were NOT ready to be removed don't seem to be re-queued at any point in the future for further processing. It seems this whole directory cleanup process only works on application start. Am I missing something? Is there a way to have the CleanAll process queue up say every hour or something?
  2. When file removal DOES finally occur, IF the sub-folder is empty, it is NOT removed also. Is there suppose to be a process in place for this?
  3. I am still having a hard time understanding how the sub-folder name is generated, however, I did just stumble across the UrlHasher class where it seems this logic is kept. So I'll investigate this in more detail next week, but would appreciate whatever info you could provide on how the folder name logic works. Originally what I thought would be the case is that each folder would be a hash representation of the relative path of the image URL, and then the image filename would be a hash of some sort on the entire URL with query params and all, but seems that is not the case. So in what cases would the same folder name be used for more than ONE image? Or is this just only something you would see happen when you are processing thousands and thousands of images, rather than just a few test images?

closed time in a month

gerneio

issue commentimazen/imageflow-dotnet-server

Disk Caching

So, I've found a solution that I'd like you to test. It causes the FlushAccessDate task to not even be queued until 10 or more seconds after the request is made. This is in v0.3.8

https://github.com/imazen/imageflow-dotnet-server/releases/tag/v0.3.8

The code changes can be seen here: https://github.com/imazen/imageflow-dotnet-server/commit/35e71ff811a0ab34ae240f174f238fcdadfb21cd

Please re-open if the issue persists, or open an new issue if you have any remaining questions about DiskCache.

gerneio

comment created time in a month

created tagimazen/imageflow-dotnet-server

tagv0.3.8

A super-fast image server for ASP.NET Core

created time in a month

release imazen/imageflow-dotnet-server

v0.3.8

released time in a month

push eventimazen/imageflow-dotnet-server

Lilith River

commit sha 35e71ff811a0ab34ae240f174f238fcdadfb21cd

Wait 10 or more seconds before flushing last accessed date changes to disk in the disk cache - this drastically reduces race conditions where a SetLastAccessTimeUtc call prevents a cached file from being read.

view details

push time in a month

issue closedimazen/imageflow-dotnet-server

Watermark: TextLayer

In ImageResizer v4 you could have a watermark definition for a text phrase. I'm not seeing this in ImageFlow? Was this feature abandoned? Is there another way to draw text on an image using this library.

closed time in a month

gerneio

issue closedimazen/imageflow-dotnet-server

Returning StatusCode 304 when caching is enabled

There is potentially one problem with the logic in ImageflowMiddleware.Invoke() method during identifying if we have a NotModified image. It does NOT check to see if the actual file exists on the file system (i.e. if it was cleaned up by disk caching).

For most scenarios, this will probably not be that big of a deal since the browser is just going to use its cached version of the image. However, I have a process in place that is making a request to the ImageFlow server with the "IfNoneMatch" header specified with the cacheKey that I am storing in a database. The purpose of this request is to identify the most recent cacheKey for a certain URL and then convert that cacheKey to an actual physical path. However, in the above scenario, the converted path will not point to a valid document since it was deleted by the cleanup process. So in my code, I need to check to see when this is the case and make a second request to the ImageFlow server, but this time without the "IfNoneMatch" header.

closed time in a month

gerneio
more