Testing Files Generator
हिन्दी

26 फ़ाइल फ़ॉर्मैट, हर एक सटीक आकार में बनाया गया

इनमें से हर एक उस फ़ॉर्मैट की असली फ़ाइल है। वह अपने सॉफ़्टवेयर में खुलती है और उसमें ठीक उतने बाइट हैं जितने आपने माँगे। इनमें से कोई भी एक्सटेंशन चिपकाए गए भराव के शून्य नहीं है।

फ़ॉर्मैट नाम एक्सटेंशन सबसे छोटी फ़ाइल पूर्णता जाँच का साधन
avif AV1 Image File Format .avif 311 full pillow
bmp Windows Bitmap .bmp 58 full pillow
csv Comma-Separated Values .csv 115 full python-csv
docx Word (Office Open XML) .docx 1220 full libreoffice
gif Graphics Interchange Format .gif 114 full pillow
html HyperText Markup Language .html 118 full python-html
ico Windows Icon .ico 70 full pillow
jpg JPEG .jpg 602 full pillow
json JavaScript Object Notation .json 219 full node-json
jxl JPEG XL .jxl 147 full pillow-jxl
log Server and application log .log 155 full लागू नहीं
md Markdown .md 0 full लागू नहीं
pdf Portable Document Format .pdf 3415 full pdftotext
png Portable Network Graphics .png 74 full pillow
pptx PowerPoint (Office Open XML) .pptx 4809 full libreoffice
svg Scalable Vector Graphics .svg 194 full inkscape
targz tar + gzip .tar.gz 9790 full 7z
tiff Tagged Image File Format .tiff 183 full pillow
toml TOML .toml 212 full python-toml
txt Plain text .txt 0 full लागू नहीं
wav Waveform Audio .wav 98 full ffprobe
webp WebP .webp 148 full pillow
xlsx Excel (Office Open XML) .xlsx 1726 full libreoffice
xml Extensible Markup Language .xml 264 full python-xml
yaml YAML .yaml 241 full python-yaml
zip ZIP .zip 8382 full 7z

कॉलम का अर्थ

हर फ़ॉर्मैट बाइट तक दोहराया भी जाता है: वही रेसिपी और वही सीड किसी भी मशीन पर एक जैसी फ़ाइलें बनाते हैं, और इसी से फ़िक्स्चर की जगह रेसिपी कमिट करना सुरक्षित होता है।

हर फ़ॉर्मैट की स्वीकार की जाने वाली सेटिंग

ज़्यादातर फ़ॉर्मैट की अपनी सेटिंग होती हैं - इमेज के आयाम, JPEG गुणवत्ता, PDF के पेज, स्प्रेडशीट की पंक्तियाँ और कॉलम, आर्काइव के अंदर कितनी प्रविष्टियाँ जाएँ। इन्हें कमांड लाइन पर --set key=value से, या रेसिपी में properties: के नीचे सेट करें।

tfg generate --format jpg --size 500kb --set width=1920 --set height=1080 --set quality=85
फ़ॉर्मैट सेटिंग स्वीकार्य मान
avif width 1 - 16384 पिक्सेल
height 1 - 16384 पिक्सेल
quality 1 - 100
bmp width 1 - 20000 पिक्सेल
height 1 - 20000 पिक्सेल
csv delimiter comma, pipe, semicolon, tab
line_ending crlf, lf
header सही या गलत
quote_style all, minimal, none
columns 2 - 32768 कॉलम
docx paragraphs 1 - 50000 अनुच्छेद
gif width 1 - 20000 पिक्सेल
height 1 - 20000 पिक्सेल
frames 1 - 60
html structure document, fragment
ico width 1 - 256 पिक्सेल
height 1 - 256 पिक्सेल
embed bmp, png
jpg width 1 - 20000 पिक्सेल
height 1 - 20000 पिक्सेल
quality 1 - 100
json formatting indented, minified, record-per-line
jxl width 1 - 16384 पिक्सेल
height 1 - 16384 पिक्सेल
quality 1 - 100
log entry_format apache-combined, apache-common, json-lines, nginx, plain, syslog
timestamps advancing, fixed
rate 1 - 1000000 प्रति सेकंड प्रविष्टियाँ
methods get, mixed, read
status_mix client-errors, realistic, server-errors, success
level_mix debug, errors, quiet, realistic
ip_version mixed, v4, v6
line_ending crlf, lf
md encoding utf-16be, utf-16le, utf-8
bom सही या गलत
pdf pages 1 - 5000
page_size a3, a4, a5, legal, letter, mixed
orientation landscape, mixed, portrait
rotate 0, 90, 180, 270
pdf_version 1.4, 1.7
title कोई भी टेक्स्ट
author कोई भी टेक्स्ट
subject कोई भी टेक्स्ट
keywords कोई भी टेक्स्ट
creator कोई भी टेक्स्ट
producer कोई भी टेक्स्ट
created 2024-02-29 या 2024-02-29T13:45:00+02:00 जैसी तारीख, या none
modified 2024-02-29 या 2024-02-29T13:45:00+02:00 जैसी तारीख, या none
png width 1 - 20000 पिक्सेल
height 1 - 20000 पिक्सेल
pptx slides 1 - 500 स्लाइड
svg width 1 - 20000 पिक्सेल
height 1 - 20000 पिक्सेल
targz entries 0 - 10000
entry_format किसी फ़ॉर्मैट का id, जैसा tfg formats सूचीबद्ध करता है
entry_size 2mb जैसा आकार
compression best, default, fast, none
depth 0 - 50
directory_entries सही या गलत
entry_mode 000, 400, 444, 600, 644, 664, 666, 700, 755, 777
entry_owner root, unset, user
tiff width 1 - 20000 पिक्सेल
height 1 - 20000 पिक्सेल
txt encoding utf-16be, utf-16le, utf-8
bom सही या गलत
wav sample_rate 8000 - 192000 हर्ट्ज़
bit_depth 8, 16, 24, 32
channels 1 - 8
content noise, silence, sweep, tone
webp width 1 - 16383 पिक्सेल
height 1 - 16383 पिक्सेल
xlsx rows 1 - 200000 पंक्तियाँ
columns 1 - 32768 कॉलम
xml encoding utf-16be, utf-16le, utf-8
bom सही या गलत
zip entries 0 - 10000
entry_format किसी फ़ॉर्मैट का id, जैसा tfg formats सूचीबद्ध करता है
entry_size 2mb जैसा आकार
compression best, default, fast, none
depth 0 - 50
directory_entries सही या गलत
password पासवर्ड, सादे टेक्स्ट में
encryption aes-128, aes-192, aes-256, none, zipcrypto

किसी सेटिंग की स्वीकार्य सीमा से बाहर का मान एक संदेश के साथ ठुकरा दिया जाता है जो सेटिंग, मान्य सीमा और इसके बदले क्या इस्तेमाल करें यह बताता है। अज्ञात सेटिंग भी त्रुटि है, कभी चुपचाप डिफ़ॉल्ट नहीं - चुपचाप मान ली गई टाइपो गलत सेटिंग की फ़ाइल देती है और एक घंटा यह सोचने में जाता है कि जिस टेस्ट को विफल होना था वह पास क्यों हो रहा है।

जो बिल्ड आपके पास है उसमें कोई फ़ॉर्मैट ठीक क्या स्वीकार करता है, यह देखने के लिए tfg formats <id> चलाएँ।

आर्काइव में असली फ़ाइलें होती हैं

targz और zip को खाली खोल छोड़ने के बजाय प्रविष्टियों से भरा जा सकता है। बनाया गया आर्काइव सच में वे दस्तावेज़ रखता है जिनका वह दावा करता है, इसलिए टेस्ट के दौरान उसे खोलने वाली कोई भी चीज़ अंदर असली फ़ाइलें पाती है।

targets:
  - id: bundle
    format: zip
    contains:
      - format: txt
        count: 200
        size: 4kb