Camera Mod

Camera Mod

18M Downloads

Reds and blues of uploaded images in game + camera pictures in world folder are inverted, etc

skeliana opened this issue ยท 5 comments

commented

Bug description

For some reason, the reds and blues of uploaded images in game are inverted, while in world folder they are fine. On the other hand, images taken with the camera in-game are fine, but in the world folder the reds and blues of them are inverted.

Minecraft version

1.21.4

Mod version

1.21.4-1.0.19

Mod loader and version

NeoForge 21.4.77

Steps to reproduce

In-game camera photos:

  1. Select camera item.
  2. Take any picture in game, no filters. Notably a picture that has lots of reds and blues to notice it best.
  3. Picture should present fine in game. Go to world folder and go to folder where the images are saved, in my case it's in the "camera_images" folder.
  4. Picture has reds and blues inverted.

Custom uploaded photos:

  1. Select camera item.
  2. Upload custom image.
  3. Picture has reds and blues inverted in game.
  4. Go to world folder and go to folder where the images are saved.
  5. Uploaded picture is fine, colors are all correct.

Expected behavior

I expected every photo and image, whether uploaded or taken in-game or in the images folder, to have the correct colors as they were taken/uploaded.

Log files

https://gist.github.com/skeliana/89126c33ae5f9058b12ce86bf1e023f2

Screenshots

Image taken with camera, pulled from images folder:

Image

In-game pictures in the images folder have reds and blues inverted as shown, with an uploaded image that has the correct colors.

Image

In-game uploaded pictures (with image taken with camera in between the two banners at the center-right showing correct colors, in contrast to uploaded images).

Image

commented

I've checked, it still happens even without other mods. Here is a video demonstration.

https://youtu.be/sMyDOioXG1w

commented

Oh, I must have misunderstood you. Yeah uploaded images are inverted for me too.

commented

Thanks for reporting this :)

commented

awesome!! you're welcome! thanks so much! :D

commented

I am not able to reproduce this issue. Same NeoForge version and same mod version.
Please check if this happens without any other mods installed,