You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Develop a tool that allows users to export Mushaf pages, Ayahs, or Words as images (PNG/WEBP). This feature should support customization options based on the selected export type and render the output using QUL's export endpoints.
Export Customization Options:
For Mushaf Page:
Select Mushaf:
Fetch approved Mushaf layouts using:
Mushaf.approved
Specify Page Number:
Render a dropdown with values from 1 to mushaf.pages_count.
Convert the rendered HTML to an image (PNG/WEBP) using Headless Chrome or another open-source library.
Outcome:
This tool will make it easy to generate high-quality images for Mushaf pages, Ayahs, or Words in different scripts and styles. These images can be used for:
Training AI models.
Learning and teaching purposes.
Developing new apps.
Creating videos and visual resources.
The text was updated successfully, but these errors were encountered:
Export Tool
Develop a tool that allows users to export Mushaf pages, Ayahs, or Words as images (PNG/WEBP). This feature should support customization options based on the selected export type and render the output using QUL's export endpoints.
Export Customization Options:
For Mushaf Page:
1
tomushaf.pages_count
.For Ayah:
code_v1
,code_v2
,code_v4
text_qpc_hafs
,text_uthmani_tajweed
text_qpc_nastaleeq
,text_indopak_nastaleeq
text_digital_khatt
For Word:
Rendering and Exporting:
Use QUL export endpoints to fetch and render content:
Convert the rendered HTML to an image (PNG/WEBP) using Headless Chrome or another open-source library.
Outcome:
This tool will make it easy to generate high-quality images for Mushaf pages, Ayahs, or Words in different scripts and styles. These images can be used for:
The text was updated successfully, but these errors were encountered: