I wanted to find out if using #IPFS as a storage backend would give file deduplication "for free", but unfortunately it looks like ImageMagick operations on the same input file are not deterministic, so you still end up with different hashes when the same file is uploaded more than once. #mastodev

@Gargron That's peculiar and frustrating but I guess from an information theory standpoint it makes sense if you're using IM for compression?

Really interested to hear that you're looking into directions like this though! I've oftened wondered how we might bridge the 'federated' and 'peer to peer' models of decentralisation...


@padraic_padraic @Gargron

I'm interested in finding a solution to this since I want to do the same for the Known CMS.


Searching around it appears that libpng/libjpeg might be at fault.

Can you compare images with imagemagick 'compare' tool?

Sign in to participate in the conversation

social.coop is a cooperatively-run corner of the Fediverse. The instance is democratically governed by its members, who generally share an interest in the co-op model, but topics of discussion range widely.

If you are interested in joining our community, please review our Bylaws and Code of Conduct. If you agree with them, you may apply for membership on our instance via this link

Our instance is supported by sliding scale contributions of $1-10/mo made via Open Collective. You must have an active Open Collective account to apply for membership; you may set one up here