products / solutions
Platform / Framework

After turning on the skin color retouch feature, the overall color becomes darker or more bluish.

Products / Plugins:AI Effects

Platform / Framework:iOS

Last updated:2022-08-31 11:06


Causes:

  • Case 1: If the overall color gets darker as you increase the value of the intensity parameter, it means the path to the color lookup table isn't correctly set up.
  • Case 2: If the overall color gets more bluish as you increase the value of the intensity parameter, it means the image resources of the color lookup table are compressed.

Solutions:

  • For case 1, check whether the path to the color lookup table is set up correctly. For more details, see Face beautification - Skin tone enhancement.

  • For case 2, do the following based on the actual situation:

    1. If the image resources of the color lookup table are packaged into your App:

      a. Open Xcode, and select the project target.

      b. Select Build Settings, and enter PNG in the search box.

      c. Under Compress PNG Files - Packaging, set Compress PNG Files and Remove Text Metadata From PNG Files to NO.

      /Pics/ZegoEffects/Apple/effects_xcode_png_compress_setting.png

    2. If the image resources are downloaded dynamically over the internet, check whether the downloaded images are compressed. The Alpha channel of the PNG files needs to be preserved.

Page Directory
Download PDF