For Generated image > Getting Error: Input data is not a valid image.

Open
#707 3 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php

Research direction

Reproduce the failure through Media > Generated image, import the generated image into the media library, and try each attachment action listed in the issue. Trace the “Input data is not a valid image” error from those actions; done means descriptive text, image tags, smart thumbnail, and image scanning work for generated images.

Written by the indexing model from the issue text.

Description

needs:feedback
Describe the bug

If we generate image using classifai feature and try to generate Descriptive text,Image tags, Smart thumbnail, Scan image for text is not getting generate.

Steps to Reproduce
  1. Goto media > Generated image
  2. Generate any one image and Import in to media library
  3. Goto attachment details and try to click and generate (Descriptive text,Image tags, Smart thumbnail, Scan image)
  4. See error
Screenshots, screen recording, code snippet

Screenshot at Feb 09 19-57-03
Generate_image_scan not working
genrated-image-issue

Environment information
  • WordPress: 6.4.3
  • Theme: Twenty TwentyVersion: 2.5
  • WooCommerce - 8.5.2
  • PHP: 8.0.30
  • Web Server: Nginx 1.20.2
  • Browser: Chrome
  • OS: macOS Ventura 13.3
WordPress information

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
PHP
Stars
714
Forks
68
Avg merge
4h 32m
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 10up/classifai

All issues in 10up/classifai

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.