ragflow/rag
WuWeiFlow bc1b837616
FIX:Saving an RGBA image directly as JPEG will cause an error. If the… (#8399)
Saving an RGBA image directly as JPEG will cause an error. If the image
is in RGBA mode, convert it to RGB mode before saving it in JPG format.

### What problem does this PR solve?

During document parsing in the knowledge base, we occasionally encounter
the error 'cannot write mode RGBA as JPEG.' This occurs because images
in RGBA mode cannot be directly saved as JPEG. They must be converted
first before saving.

### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-06-24 18:01:13 +08:00
..
app Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
llm fix a bug when using huggingface embedding api (#8432) 2025-06-24 09:35:02 +08:00
nlp Fix: doc_aggs issue. (#8418) 2025-06-23 14:54:01 +08:00
res Update synonym dictionary file (#7997) 2025-06-03 09:41:53 +08:00
svr FIX:Saving an RGBA image directly as JPEG will cause an error. If the… (#8399) 2025-06-24 18:01:13 +08:00
utils Fix: Database Query Vulnerable to Injection Attacks in rag/utils/opendal_conn.py (#8408) 2025-06-23 14:54:25 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
benchmark.py Refactor embedding batch_size (#3825) 2024-12-03 16:22:39 +08:00
prompts.py Fix: rank feature score should be greater than 0. (#8416) 2025-06-23 14:10:13 +08:00
raptor.py Fix task_limiter in raptor.py (#8124) 2025-06-09 10:18:03 +08:00
settings.py Feat: make document parsing and embedding batch sizes configurable via environment variables (#8266) 2025-06-16 13:40:47 +08:00