feat: Dropstar's answers of 23/10 that need nothing more from them
All checks were successful
Build and deploy / Validate source (push) Successful in 1m6s
Build and deploy / Integration suite on a real stack (push) Successful in 4m5s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 2m6s
All checks were successful
Build and deploy / Validate source (push) Successful in 1m6s
Build and deploy / Integration suite on a real stack (push) Successful in 4m5s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 2m6s
- JPG is refused in every product, at upload and by the server: it has no transparency, so the background prints and loose art packs as a box - a PDF over 150 MB says before payment that the Site cannot check it, as a file opened by hand does - every piece that is not square is tried both ways; the 1 cm rule left 19,5 x 18,5 cm standing, 2 to a row instead of 3 - a mirrored order (UV only) is flagged on its card and panel, and its print file's footer ends in ESPELHADO, in bold - print files are named DTF-23-item-1, and the order panel copies DTF-23-, so the code pasted into the folder's search finds them - the proof: up to 30 cm, from the thinnest lines, a piece of each different artwork, at most three per order, free - a file opened by hand costs R$ 2,00 more a metre by default, and the Site says so Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,10 +12,15 @@ function recusa(lista){
|
||||
if(!lista.length){ el.style.display='none'; el.innerHTML=''; return; }
|
||||
const exts=escapeHTML([...new Set(lista.map(f=>extDe(f.name)))].join(', '));
|
||||
el.style.display='block';
|
||||
if(lista.every(f=>/\.jpe?g$/i.test(f.name))){
|
||||
el.innerHTML='<b>JPG não dá para enviar.</b> JPG não tem fundo transparente, e o branco do fundo '+
|
||||
'sai no filme. Exporte em '+(ehFolha()?'PNG ou PDF':'PNG')+' com fundo transparente e envie de novo.';
|
||||
return;
|
||||
}
|
||||
el.innerHTML = ehFolha()
|
||||
? '<b>'+exts+' não dá para enviar aqui.</b> A folha pronta aceita PNG, JPG, TIFF, '+
|
||||
'PDF, PSD, AI e CDR.'
|
||||
: '<b>'+exts+' não dá para enviar aqui.</b> Artes avulsas precisam de PNG ou JPG com '+
|
||||
? '<b>'+exts+' não dá para enviar aqui.</b> A folha pronta aceita PNG, PDF, TIFF, '+
|
||||
'PSD, AI e CDR, com fundo transparente.'
|
||||
: '<b>'+exts+' não dá para enviar aqui.</b> Artes avulsas precisam de PNG com '+
|
||||
'fundo transparente — é o que a montagem enxerga para encaixar. '+
|
||||
'Se o seu arquivo é CDR, AI ou PSD, exporte em PNG ou use <b>Arquivo por metro</b>.';
|
||||
}
|
||||
@@ -107,7 +112,7 @@ function sel(fs){
|
||||
x.pct=null; pintaFolha(); marcaResiduos(x);
|
||||
});
|
||||
}else if(md && /\.pdf$/i.test(x.f.name) && x.f.size>GRANDE_BYTES){
|
||||
x.semAnalise='PDF grande: a resolução das imagens de dentro é conferida pela equipe';
|
||||
x.pdfGrande=true; // a warning on the sheet, like a file opened by hand
|
||||
x.pct=null; pintaFolha();
|
||||
}else if(md && /\.pdf$/i.test(x.f.name)){
|
||||
x.pct=70; pintaFolha();
|
||||
@@ -150,7 +155,7 @@ function medir(a){
|
||||
return dimensoesImagem(a.f).then(async d=>{
|
||||
if(!d || !(d.w>0) || !(d.h>0)){ a.decodeError=true; return a; }
|
||||
a.px=d.w; a.py=d.h; a.prop=d.h/d.w; a.grande=true;
|
||||
// JPG and WebP cannot be read in parts: the art is placed by its
|
||||
// WebP cannot be read in parts (JPG is refused): the art is placed by its
|
||||
// measurements, as a full box, and the team checks it before printing.
|
||||
if(!/\.png$/i.test(a.f.name)){ a.semPrevia=true; return a; }
|
||||
a.lendo=0; a.leitura={inicio:Date.now(), p:0}; pintaArtes();
|
||||
|
||||
Reference in New Issue
Block a user