Comments (4)
Hi,
If ImageMagick is in the path, Damselfly will find it. If not, there's nothing I can do.
Sorry I can't be of more help.
from damselfly.
ImageMagick is in path. But in your code you are checking for exitcode 0. It is returning exit code 4
from damselfly.
Code for Test.exe
namespace Test
{
class Program
{
private const string imageMagickExe = "convert";
static void Main(string[] args)
{
var process = new Process();
process.StartInfo.FileName = imageMagickExe;
process.StartInfo.Arguments = "-version";
process.StartInfo.RedirectStandardError = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
var success = process.Start();
if (success)
{
process.WaitForExit();
Console.WriteLine("Success: " + process.ExitCode);
}
else {
Console.WriteLine("Failure");
}
}
}
}
from damselfly.
According to SO, it looks like error code 4 is happening because a convert.exe command that isn't ImageMagick is being executed.
So I suspect the answer is to move the PATH entry for ImageMagick nearer to the start of the path. Either that, or copy convert.exe into the folder that Damselfly runs from.
I could add an option to explicitly specify the IM path, but
- It's not really high on my list of priorities for Damselfly. I need to get image editing working, and face recognition up and running again.
- It would have to be Windows-only, and I don't really want to add OS specific logic.
- I only really support docker installations (as specified in the documentation) otherwise I'd spend my life trying to fix people's windows install issues, and I have little enough time to work on Damselfly as it is.
Sorry I can't help more.
If this is for HEIC support, I have a recently opened issue to handle that natively, rather than using ImageMagick. I'm far more likely to work on that. #479
from damselfly.
Related Issues (20)
- Move to on-demand thumbnails
- DumpPerformance being called on CleanupDownloadsThread and CleanupKeywordOpsThread
- Tag updates to images shouldn't overwrite CreateDate of image HOT 1
- Check thumbnail generation with new Algo
- Add client-side caching
- Failed to make thumbnails from HEIC images HOT 2
- Create / rename folder HOT 1
- Only 250 images are loaded HOT 5
- bottom left statusbar overlap HOT 1
- Delay write exif keywords HOT 1
- Damselfly not reading correct taken date from image HOT 10
- Q: Will Damselfly learn / re-train from my existing tags? HOT 1
- Release 4 running as windows binary (not docker) HOT 2
- Bitmap.DecodeToWidth crashes on on MacOS and Linux with v2.88.6
- Refractor all styles and components to use scoped CSS
- Scroll wheel zoom? HOT 2
- Date/Time Metadata incorrrect HOT 58
- No photos at all showing - Basket: An error has occurred. HOT 3
- Support Sony .ARW RAW files HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from damselfly.