We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is with
[byte-transforms "0.1.1" :exclusions [byte-streams]] [byte-streams "0.1.7"]
Trying to copy from one file to another fails:
(bs/transfer (File. "test/fixture/kittensB/kitten1.jpg") (File/createTempFile "difftron" "image-diff"))
yields
sun.nio.ch.FileChannelImpl cannot be cast to java.lang.Number [Thrown class java.lang.ClassCastException] Restarts: 0: [QUIT] Quit to the SLIME top level Backtrace: 0: byte_streams.clj:699 byte-streams/eval4829[fn] 1: byte_streams.clj:425 byte-streams/this[fn] 2: byte_streams.clj:465 byte-streams/transfer 3: byte_streams.clj:460 byte-streams/transfer 4: form-init6519885573008950383.clj:1 com.keminglabs.difftron.image-diff/eval11751
However, converting first to a byte-buffer works fine:
(bs/transfer (bs/to-byte-buffer (File. "test/fixture/kittensB/kitten1.jpg")) (File. "foo.jpg")) => nil
The text was updated successfully, but these errors were encountered:
fix some issues and add 'precache-conversions', fixes #10 #12 #13
bea74d6
No branches or pull requests
This is with
Trying to copy from one file to another fails:
yields
However, converting first to a byte-buffer works fine:
The text was updated successfully, but these errors were encountered: