You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion the step mogrify -colorspace gray -depth 1 "NN.tif" should not be done. It should be done as convert, writing the depth 1 image to a temporary file. (As /tmp/ may be too small perhaps a temp folder in the working directory should be used?)
The program should not modify the input data without clearly stating that. What if i like my bitonal images with higher depth. What if i like the modification time of my images. What if i want to keep the raw images, but don't want them backed up twice, once before the djvubind run, once after it.
P.S.: I have started using pgmagick. Works well for me.
(copy-edited)
The text was updated successfully, but these errors were encountered:
First off, I am honestly sorry that you experienced some data loss with djvubind from #11 when you interrupted it's execution.
You are correct that modifying input data is a bad idea, and one of my intentions was to never have djvubind do any image processing, even for the sake of better compression. In the case of modifying bit depth, that was a duct tape patch. If I remember correctly, either jb2 or minidjvu would get very upset if the bit depth was more than 1 even though the images were bitonal. This was a quick fix that I didn't think would matter much to anyone. Like you noticed, with #8 this is a bigger issue because it's doing this unnecessarily. But even without #8, I agree that it needs to at least be changed to a convert.
Unfortunately, my professional life will be at a busy peak for the next three weeks. Everytime I say that I manage to eek out a few minutes to fix things, but fair warning that it might not be a rapid fix.
In my opinion the step
mogrify -colorspace gray -depth 1 "NN.tif"
should not be done. It should be done as convert, writing the depth 1 image to a temporary file. (As/tmp/
may be too small perhaps a temp folder in the working directory should be used?)The program should not modify the input data without clearly stating that. What if i like my bitonal images with higher depth. What if i like the modification time of my images. What if i want to keep the raw images, but don't want them backed up twice, once before the djvubind run, once after it.
P.S.: I have started using
pgmagick
. Works well for me.(copy-edited)
The text was updated successfully, but these errors were encountered: