this post was submitted on 13 Jun 2023
15 points (100.0% liked)

AI Generated Images

7171 readers
116 users here now

Community for AI image generation. Any models are allowed. Creativity is valuable! It is recommended to post the model used for reference, but not a rule.

No explicit violence, gore, or nudity.

This is not a NSFW community although exceptions are sometimes made. Any NSFW posts must be marked as NSFW and may be removed at any moderator's discretion. Any suggestive imagery may be removed at any time.

Refer to https://lemmynsfw.com/ for any NSFW imagery.

No misconduct: Harassment, Abuse or assault, Bullying, Illegal activity, Discrimination, Racism, Trolling, Bigotry.

AI Generated Videos are allowed under the same rules. Photosensitivity warning required for any flashing videos.

To embed images type:

“![](put image url in here)”

Follow all sh.itjust.works rules.


Community Challenge Past Entries

Related communities:

founded 1 year ago
MODERATORS
 

Many AI image generators, including the big UIs for Stable Diffusion, helpfully embed metadata in the images so that you can load them up again and get all the settings you need to regenerate the image.

But Lemmy's built-in pict-rs image hoster, and most image hosters that resize or re-encode images or that try and stop people from doxing themselves with photos' embedded GPS coordinates, will remove all the metadata. This is counter-productive for AI image generation, because part of the point of sharing the images is so other people can build on the prompts.

What are some good places to host images that don't strip metadata?

you are viewing a single comment's thread
view the rest of the comments
[–] poVoq 6 points 1 year ago (1 children)

https://git.asonix.dog/asonix/pict-rs

Pictrs has all sorts of settings. Might be worth exploring what could be changed to prevent this and ask the instance admin to adapt the settings.

I am also seeing similar problems with photo rotation not being preserved on upload, which might be nice to find a fix for.

[–] planish@sh.itjust.works 4 points 1 year ago (1 children)

The rotation thing is probably the metadata being stripped too. Instead of encoding the image the right way up or re-encoding if someone rotates, often phones will very quickly "rotate" an image by just adding some metadata saying which way up you should draw it. If the metadata is dropped and the image isn't re-encode the right way up at the same time, then the image goes back to being drawn in whatever orientation it came off the sensor.

[–] poVoq 2 points 1 year ago

Exactly, this is why I mentioned it :)