Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-82945

AI: Image watermark rendering

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • main_MDL-82945
    • Hide

      Setup - Provider

      1. Login as admin.
      2. Go to Site admin -> General -> AI -> Manage settings for AI providers
      3. Enable the OpenAI API Provider.
      4. Click on the Setting link.
      5. Enter in a valid API key and org ID
      6. Click on the "Save changes" button

      Setup - Placement

      1. Login as admin.
      2. Site admin -> General -> AI -> Manage settings for AI placement
      3. Enable the HTML Text Editor Placement

      Testing

      1. Login as admin.
      2. Edit your profile.
      3. Click on the AI button in the TinyMCE editor.
      4. Select AI Generate Image.
      5. Agree with the Policy (If any).
      6. Input the following text in the Describe the image you want AI to create:
        1. Generate a black image, this is for a test
      7. Select High for Image quality.
      8. Select Landscape for Image shape.
      9. Press Generate Image.
      10. Verify you will see the Generated image on the right AND that the "Generated by AI" text in the bottom left hand corner is written in white.
      11. Input the following text in the Describe the image you want AI to create:
        1. Generate a white image, this is for a test
      12. Press Regenerate.
      13. Verify you will see the Generated image on the right AND that the "Generated by AI" text in the bottom left hand corner is written in black.
      14. Input the following text in the Describe the image you want AI to create:
        1. generate a multi colored abstract image in a mosaic style
      15. Press Regenerate.
      16. Verify you will see the Generated image on the right AND that the "Generated by AI" text in the bottom left hand corner is written and can be read.

      NOTE: Due to the nature of LLM's and AI, you may need to generate several images for this test (in order to get ones that are black and/or white). AI may not exactly follow your instructions.

      Show
      Setup - Provider Login as admin. Go to S ite admin -> General -> AI -> Manage settings for AI providers Enable the OpenAI API Provider. Click on the Setting link. Enter in a valid API key and org ID Click on the "Save changes" button Setup - Placement Login as admin. Site admin -> General -> AI -> Manage settings for AI placement Enable the HTML Text Editor Placement Testing Login as admin. Edit your profile. Click on the AI button in the TinyMCE editor. Select AI Generate Image. Agree with the Policy (If any). Input the following text in the Describe the image you want AI to create: Generate a black image, this is for a test Select High for Image quality. Select Landscape for Image shape. Press Generate Image. Verify you will see the Generated image on the right AND that the "Generated by AI" text in the bottom left hand corner is written in white . Input the following text in the Describe the image you want AI to create: Generate a white image, this is for a test Press Regenerate. Verify you will see the Generated image on the right AND that the "Generated by AI" text in the bottom left hand corner is written in black. Input the following text in the Describe the image you want AI to create: generate a multi colored abstract image in a mosaic style Press Regenerate. Verify you will see the Generated image on the right AND that the "Generated by AI" text in the bottom left hand corner is written and can be read . NOTE: Due to the nature of LLM's and AI, you may need to generate several images for this test (in order to get ones that are black and/or white). AI may not exactly follow your instructions.
    • 2
    • Team Hedgehog 2024 Sprint 3.2

      When an image is generated by AI a watermark is added to the image so users are aware that the image was AI generated. 

      Currently, the text generated is white in colour. The limitation is that if the generated image has a white/light colour where the text is rendered it can be very hard to read. Because of white one white.

      To address this, the area of the image where the watermark text is rendered should be analysed and the text colour adjusted so it has clear contrast and is easy to read against the image.

        1. (1) 10 Passed -- (Main)MDL-82945.png
          101 kB
          Kim Jared Lucas
        2. (1) 13 Passed -- (Main)MDL-82945.png
          343 kB
          Kim Jared Lucas
        3. (1) 16 Passed -- (Main)MDL-82945.png
          753 kB
          Kim Jared Lucas
        4. 2-pixel-tollerance.png
          177 kB
          David Woloszyn
        5. new_pill_landscape.png
          27 kB
          Matt Porritt
        6. new_pill_portrait.png
          41 kB
          Matt Porritt
        7. new_pill_square.png
          11 kB
          Matt Porritt
        8. pill_demo1.png
          107 kB
          Matt Porritt
        9. pill_demo2.png
          112 kB
          Matt Porritt
        10. Screen Shot 2024-09-11 at 1.27.58 pm.png
          771 kB
          David Woloszyn
        11. watermark_alternative.jpeg
          141 kB
          David Woloszyn

            matt.porritt@moodle.com Matt Porritt
            matt.porritt@moodle.com Matt Porritt
            David Woloszyn David Woloszyn
            Safat Shahin Safat Shahin
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 14 minutes
                6h 14m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.