Embroidery Viewer and Converter

This online viewer allows you to view embroidery files including pes, dst, exp, jef, vp3, u01, pec, gcode.. as well as convert a embroidery file to multiple formats.
It is easy to use, With just a few clicks, you can get the converted file, and View this file from your browser directly. You can open a embroidery file from local computer, Web URL, Google Drive, Dropbox, and Box.
Supported format: pes, dst, exp, jef, vp3, 10o, 100, bro, dat, dsb, dsz, emd, exy, fxy, gt, inb, jpx, ksm, max, mit, new, pcd, pcm, pcq, pcs, pec, phb, phc, sew, shv, stc, stx, tap, tbf, u01, xxx, zxy, csv, gcode
Embroidery file is a CAM (computer aided manufacturing) file that contains instructions for creating embroideries with a sewing machine includes codes such as “stop” “jump” and “trim” also includes the colors for the design from the supported Brother color palette. Max embroidery file size 10 MB. Free OO converts/1 Day.
=0;i–) a.remove(i); _getid(“desc”).innerHTML=”; if(cl_files.length==0){ //alert(‘No selected file’); return; } var obj2=_getid(“attachment”); var d,s; for(var i = 0; i 0){ obj2.selectedIndex=0; attachment_onchange(); } _getid(‘attachments’).style.display=”; _getid(‘selenc’).checked=true; } var gresp, u_uploading; function guid(){ return ‘xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx’.replace(/[xy]/g, function(c) { var r = Math.random()*16|0, v = c == ‘x’ ? r : (r&0x3|0x8); return v.toString(16); }); } function proc_upload(){ function g(issave,name){ var data={}; try{ try{ data=JSON.parse(getstorage(name)); }catch(err){ data={}; } if(!data) data={}; var now=new Date(); var time=now.getFullYear()+’-‘+(now.getMonth()+1)+’-‘+now.getDate(); if(data.time!=time){ data.time=time; data.count=1; }else{ if(!data.count)data.count=1; data.count=data.count+1; } if(issave) setstorage(name, JSON.stringify(data)); }catch(err){} return data; } if(gadb){alert(‘Please disable the adblock for free use.’);return;} var maxsize=10; var form=document.optcontainer; var o_results=form[‘o_results’].value; var weburl=”; if(_getid(‘selenc2’).checked){ weburl=trim(form[‘weburl’].value); if(!weburl){ alert(‘Please enter a URL.’); form[‘weburl’].focus(); return; } if(!validateURL(weburl)){ alert(“It is not a valid URL.”); form[‘weburl’].focus(); return; } } if(weburl){ if(!gresp || !gresp.weburl) gresp={‘weburl’:true}; }else{ if(!gresp){ alert(‘Please select a embroidery file.’); return; } var uname=(gresp.filename || ”).replace(/[\\/:?*”|]/g,’-‘); if(gresp.size==0){alert(‘File size is zero. or File not found.’);return;} if(gresp.size>maxsize*1024*1024){ alert(‘The file size is too large to upload. (‘+maxsize+’ MB limit)’);return; } var ext=getfileext(gresp.filename); if(!getSupported2({‘title’:gresp.filename})){ alert(‘Not supported file type (‘+(ext || ‘Unknown’)+’).’); return; } } var o_opts=o_results+’,’+weburl; function setcontrol(){ var a=gresp.uploaded; var s1=’Converted.’; var plink2; if(a.destfilecsv){ plink2=a.destfilecsv_enc+”?t=”+(new Date()).getTime(); } if(a.destfile){ var plink=a.destfile_enc+”?t=”+(new Date()).getTime(); var ext=getfileext(a.destfile_name); if(ext==’svg’ || ext==’png’ || ext==’txt’ || ext==’gcode’){ s1+=’  View’; } s1+=’  Download ‘+getsize(a.destfile_size)+”; s1+=’  New  Save to Drive’; } if(plink2){ s1+=’  MetaInfo Download’+getsize(a.destfilecsv_size)+”; //s1+=’  View MetaInfo’; } s1+=”; if(a.log){ var arr=a.log.split(“n”); for(var i = 0; i <= arr.length-1; i++){ arr[i]=henc(arr[i]); } s1+=''+arr.join("
“)+”; } _getid(“downlink”).innerHTML=s1; } function callback(a){ if(a.error){ alert(a.error); }else if(a.destfile || a.log){ gresp.uploaded=a; gresp.o_opts=o_opts; setcontrol(); }else{ alert(‘Unknown Error.’); } } function end(){ u_uploading=false; _getid(“downlink”).innerHTML=”; } if(gresp.uploaded && (gresp.uploaded.destfile || gresp.uploaded.log) && gresp.o_opts==o_opts){ _getid(“downlink”).innerHTML=’Already Converted.’; setTimeout(function(){ setcontrol(); },1000); return; } if(u_uploading){ alert(“It’s working. Please try again later. or Cancel the current job.”);return; } var udata=g(false,’embr_iwcount’); if(udata.count>35){alert(‘You have exceeded the daily usage. Please try again later.’);return;} setstorage(’embr_iwcount’, JSON.stringify(udata)); u_uploading=true; _getid(“downlink”).innerHTML=”
Uploading…  Cancel]]>

ⓒ 2021, Embroidery Viewer and Converter

To use this app, Please login to the Google Drive and authorize this app or website.
(Note: If your browser block or disable the third-party cookies, this login does not work correctly.)

=0) ismsie=true; } if(navigator.userAgent.match(/Trident//)) ismsie=true; function gd_btn_login2(e,callback){ var sl=getScrollLeft(); var st=getScrollTop(); var w=getWindowWidth(); var h=getWindowHeight(); function go(a){ if(a && a.style.display==”){ var x=sl+((w-a.clientWidth) / 2); var y=st+((h-a.clientHeight) / 2); a.style[“border”]=”1px solid #000000″; a.style[“padding”]=”10px”; a.style.left=x+”px”; a.style.top=y+”px”; } } function go2(){ var a=_getid(“gviewer”); if(a.style.display!=”)return; //if(!gresp)return; var dy=40; var dy2=15; var dr=0.07; if(false && gresp.videoMediaMetadata && gresp.videoMediaMetadata.width && gresp.videoMediaMetadata.height){ var odw=gresp.videoMediaMetadata.width;var odh=gresp.videoMediaMetadata.height; var dw=odw;var dh=odh; var mw=w-(parseInt(w*dr)*2); var mh=h-dy-dy2; var dt=0; if(dw>mw){ dw=mw; dh=dw*odh/odw; dt=12; } if(dh>mh){ dh=mh; dw=dh*odw/odh; dt=12; } a.style.left=(sl+((w-dw)/2))+’px’; a.style.width=dw+’px’; var y=(st+((h-dh)/2)+dt); a.style.top=y+’px’; a.style.height=dh+’px’; }else{ a.style.left=(sl+parseInt(w*dr))+’px’; a.style.width=(w-(parseInt(w*dr)*2))+’px’; //a.style.left=(sl+((w-820)/2))+’px’; //a.style.width=’820px’; var y=st+dy; a.style.top=y+’px’; a.style.height=(h-dy-dy2)+’px’; } var b=_getid(“btn_gvclose”); b.style.display=”; var x=sl+((w-b.offsetWidth) / 2); y=y-b.offsetHeight; b.style.left=x+’px’; b.style.top=y+’px’; } go(_getid(“gd_btn_login”)); go(_getid(“gd_window”)); setTimeout(function(){ go(_getid(“gd_btn_login”)); go(_getid(“gd_window”)); if(callback)callback(); },10); go2(); } function gd_btn_login(isshow){ var a=_getid(“gd_btn_login”); if(isshow){ a.style.display=”; gd_btn_login2(); }else{ a.style.display=’none’; } } function gd_login_close(){ gd_btn_login(false); gd_state=”; } function gd_login_manual(){ var p={‘client_id’: CLIENT_ID, ‘scope’: SCOPES.join(‘ ‘), ‘immediate’: false}; if(gd_userId){p[‘login_hint’]=gd_userId;p[‘authuser’]=-1;} gapi.auth.authorize(p, function (authResult){ if (authResult && !authResult.error){ gd_loginexp=(new Date()).getTime()+parseInt(authResult.expires_in*0.7*1000); gd_btn_login(false);gd_info(); show_message(“Login ok!!”); if(gd_callback) gd_callback(true); else gd_open_state(true); }else{ gd_btn_login(true); show_message(“Login failed!!”); } }); } function gd_login(callback,react){ if(gd_loginexp==0 || gd_loginexp0 && data.docs[0].id){ gd_loadfiles(data.docs); } } } function gd_checkwork(){ if(gd_isdownloading){ alert(“It’s working. Please try again later. or Cancel the current task.”); return true; } } function gd_loadfiles(docs){ if(gd_checkwork())return; function end(){ gd_isdownloading=false; clearTimeout(messagetimer); hide_message(); _getid(“downlink”).innerHTML=”; } var canceled=false; _getid(“downlink”).innerHTML=”

Cancel 

Getting file information…”; _getid(‘gd_cancel’).onclick=function(){ canceled=true; return false; } gd_isdownloading=true; if(!docs){ end();return; } var files=[]; for(var i = 0; i <= docs.length-1; i++){ if(!docs[i].id)continue; var d={}; d.id=docs[i].id; d.name=docs[i].name; d.done=false; files.push(d); } function complete(){ var accessToken = gapi.auth.getToken().access_token; var a,d; cl_files=[]; for(var i = 0; i <= files.length-1; i++){ d=files[i]; if(!d.resp || !d.resp.title || d.resp.mimeType=='application/vnd.google-apps.folder')continue; a={}; a.service='Google Drive'; a.filename=d.resp.title; if(d.resp.downloadUrl){ a.link=d.resp.downloadUrl+'&access_token='+encodeURIComponent(accessToken); a.link2=d.resp.downloadUrl; a.link3='https://www.googleapis.com/drive/v2/files/'+d.resp.id+'?alt=media'; a.webContentLink=d.resp.webContentLink; a.size=d.resp.fileSize; }else if(d.resp.exportLinks){ for (x in d.resp.exportLinks){ for(var j = 0; j =0){ a.link=d.resp.exportLinks[x]+'&access_token='+encodeURIComponent(accessToken); a.link2=d.resp.exportLinks[x]; a.filename=d.resp.title+"."+gd_export_extension[j][1]; break; } } if(a.link)break; } } a.id=d.resp.id; a.resp=d.resp; cl_files.push(a); } cl_display(); } var joblist=[]; var jobtimer; function getentryidx(){ for(var i = 0; i <= files.length-1; i++){ if(!files[i].done){ files[i].done=true; return i; } } return null; } function checkjoblist(){ if(joblist.length==0)return; for(var i = 0; i folderlist.length-1 || canceled){ _call(); return; } _progress('Getting files in the folder... '+folderlist[folderidx].name); retrieveAllFiles("'"+folderlist[folderidx].id+"' in parents and trashed=false", function(results){ var parent=folderlist[folderidx].parent || ''; if(parent) parent+='/'; parent+=folderlist[folderidx].name || ''; for(var i = 0; i <= results.length-1; i++){ var d={}; d.id=results[i].id; d.name=results[i].title; d.resp=results[i]; d.parent=parent; d.done=true; files.push(d); if(c_scansub && d.resp.mimeType=='application/vnd.google-apps.folder'){ folderlist.push(d); } } folderidx++; getfolder(folderidx); }); } var fileId=files[idx].id; _progress('Getting file info...'); var request = gapi.client.drive.files.get({ 'fileId': fileId }); request.execute(function(resp){ if(resp.error){ var s='Error. '; if(files[idx].name) s+=files[idx].name+' '; if(resp.error.message) s+=resp.error.message+' '; if(resp.error.code==401) s+='Login or Authorize Error.'; proc_log(s,'error'); } files[idx].resp=resp; if(!files[idx].name) files[idx].name=resp.title; /*if(files[idx].resp.mimeType=='application/vnd.google-apps.folder'){ folderlist=[]; folderlist.push(files[idx]); getfolder(0); }else{*/ _call(); //} }); } if(files.length==0){ end();return; } gapi.client.load('drive', 'v2', function(){ jobtimer=setInterval(checkjoblist,200); for(var i = 0; i < 2; i++){ var a={}; a.func=get; a.complete=false; joblist.push(a); a.func(i); } }); } function proc_log(s,name,s2){ s=''+henc(s)+''; if(s2) s=s+' '+s2; _getid('downlink2').innerHTML=s; } function retrieveAllFiles(query,callback) { var retrievePageOfFiles = function(request, result) { request.execute(function(resp) { result = result.concat(resp.items); var nextPageToken = resp.nextPageToken; if (nextPageToken) { request = gapi.client.drive.files.list({ 'q': query, 'pageToken': nextPageToken, }); retrievePageOfFiles(request, result); } else { callback(result); } }); } var initialRequest = gapi.client.drive.files.list({ 'q': query }); retrievePageOfFiles(initialRequest, []); } function gd_open_picker(){ if(gd_checkwork())return; if(!gd_issupported){ alert("This browser does not support."); return; } if(!gd_loaded || !gd_pickerloaded){ if(!gd_load_timer) gd_loadscript(gd_open_picker); else alert('Not loaded library. Please try again in a few minutes.'); return; } gd_checklogin(function(){ gd_createpicker(); }); } function gd_open_state(force){ var s=gd_state; if(s){ if(!gd_issupported){ gd_state=''; alert("This browser does not support."); return; } s=decodeURIComponent(s); try{ var a=JSON.parse(s); var ids=[]; function find(b){ if(!b)return; for(var i=0; i 0){ gd_login(function(result){ if(gd_open2 && !force)return; gd_open2=true; if(!result)return; //_getid('gd_btn_reopen').style.display=''; gd_state=''; gd_loadfiles(ids,true); }); } }catch(err){ } } } function gd_clientload(){ gd_loaded=true; if (window.addEventListener){ window.addEventListener("resize", gd_btn_login2, false); }else if (window.attachEvent){ window.attachEvent("onresize", gd_btn_login2); } gd_open_state(); } var gd_open2; function gd_open_state2(){ setTimeout(function(){ if(!gd_open2)gd_open_state(); }, 1000); } function gd_loadscript(callback){ function inject(s){ var o = document.createElement('scri' + 'pt'); o.setAttribute('src', s); o.setAttribute('type', 'text/javascript'); document.body.appendChild(o); } if(gd_load_timer)return; if(gd_loaded && gd_pickerloaded)return; gd_load_timer=setInterval(function(){ if(gd_loaded && gd_pickerloaded){ clearInterval(gd_load_timer); if(callback) callback(); } },100); inject('https://apis.google.com/js/client.js?onload=gd_clientload'); inject('https://apis.google.com/js/api.js?onload=gd_loadpicker'); } var gd_userId,gd_email; function gd_weburl(){ var s; if(gd_email) s='https://drive.google.com/?authuser='+gd_email; else s='https://drive.google.com/'; return s; } function gd_info(){ if(gd_email)return; gapi.client.load('drive', 'v2', function(){ var request = gapi.client.drive.about.get(); request.execute(function(resp) { if(resp && resp.user){ if(gd_email)return; gd_email=resp.user.emailAddress; if(gd_email){ var a=_getid('btn_open'); var b=_getid('gd_btn_reopen'); if(a)a.title=a.title+' ('+gd_email+')'; if(b)b.title=b.title+' ('+gd_email+')'; } } }); }); } function gd_dblclick(){ function dblclick(){ try{ if(gd_picker)gd_picker.setVisible(false); }catch(err){} } function keydown(e){ if(!e)e=window.event; if(e && e.keyCode==27){ dblclick(); proc_rssclose(); } } if(window.addEventListener){ document.addEventListener("dblclick", dblclick, false); document.addEventListener("keydown", keydown, false); }else if(window.attachEvent){ document.attachEvent("ondblclick", dblclick); document.attachEvent("onkeydown", keydown); } document.documentElement.onmouseup=function(e){ if(!e) e=event; if(e.button!=0 && e.button!=1)return; var w=getWindowWidth()-27; var h=getWindowHeight()-27; if(e.clientX>w || e.clientY>h) return; var b2; if(e.target) b2 = e.target; else if(e.srcElement) b2 = e.srcElement; if(b2.tagName==’A’ || b2.tagName==’SPAN’)return; while (b2) { if(b2.id==”rssviewer” || b2.id==”imgrss”){ return; } if (b2==document.body) break; if (b2.parentElement) b2=b2.parentElement; else b2=b2.parentNode; } proc_rssclose(); } } function gd_init(){ gd_dblclick(); gd_state2=gd_state; if(!window.XMLHttpRequest || !window.URL){ }else{ gd_issupported=true; if(gd_state){ try{ var a=JSON.parse(gd_state); gd_userId=a.userId; if(a.ids || a.exportIds){ _getid(“downlink”).innerHTML=”

Ready…”; } }catch(err){} if(window.addEventListener) window.addEventListener(“load”, gd_open_state2, false); else if (window.attachEvent) window.attachEvent(“onload”, gd_open_state2); } gd_loadscript(); } } gd_init(); ]]>

=0) s=resp.alternateLink.substr(0,p1)+’/preview’; } }else if(resp && resp.f){ if(!window.URL){ alert(‘Not supported on this browser’); return; } if(g_lastbloburl2) window.URL.revokeObjectURL(g_lastbloburl2); g_lastbloburl2=window.URL.createObjectURL(resp.f); s=g_lastbloburl2; /*var ext=getfileext(resp.filename); if(ext==”){ var reader=new FileReader(); reader.onload = function(e){ var blob = new Blob([e.target.result], {encoding:”UTF-8″,type:”text/plain;charset=UTF-8″}); if(g_lastbloburl2) window.URL.revokeObjectURL(g_lastbloburl2); g_lastbloburl2=window.URL.createObjectURL(blob); s=g_lastbloburl2; go(); } reader.onerror=function(){ go(); } if(reader.readAsText){ reader.readAsText(resp.f, ‘UTF-8’); return; } }*/ if(_view(resp.filename)) return; }else{ return; } go(); } function proc_rssclose(){ var a=_getid(“gviewer”); if(a && a.style.display==”){ a.style.display=”none”; _getid(“btn_gvclose”).style.display=”none”; document.body.style.overflow=”; try{ var ifrm2 = _getfrmdoc(a); if(ifrm2) ifrm2.location.replace(‘about:blank’); }catch(err){} } } function proc_save(outputname_org){ outputname_org=unescape(outputname_org || ”); if(!outputname_org){ alert(‘Can not find a merged file.’);return; } if(gd_isdownloading){ alert(“It’s working… Please try again later.”);return; } var arr=outputname_org.split(‘/’); var filename=arr[arr.length-1]; var accessToken, xhr; _getid(“msg”).innerHTML=”

“; function end(){ gd_isdownloading=false; //var s=’Completed.’; //proc_log(s,’welcome’); } function _progress(name,s,state,s2,nolog){ var s=s+’ ‘+filename; //if(!nolog) proc_log(s,state,s2); var a=_getid(“gd_progress2″); if(a) a.innerHTML=henc(s); } function go(){ gd_isdownloading=true; try{ _progress(‘log1′,’Saving…’); var fd = new FormData(); fd.append(‘outputname_org’, outputname_org); fd.append(‘authtoken’, accessToken); fd.append(‘savefolderid’, ”); fd.append(‘mimeType’, getmimetype(outputname_org) || ‘application/octet-stream’); xhr=new XMLHttpRequest(); xhr.open(‘POST’, ‘upload.php?action=savetodrive’, true); xhr.onload=function() { if(this.status==200){ var a={}; try{a=JSON.parse(this.response);}catch(err){a={};} //console.log(a); if(a.error){ _progress(‘log1′,a.error,’error’); }else if(a.drive){ var result={}; try{result=JSON.parse(a.drive);}catch(err){result={};} if(result.error){ var s=’Error. ‘; if(result.error.message) s+=result.error.message+’ ‘; if(result.error.code==401){ s+=’Login or Authorize Error.’; } _progress(‘log1′,s,’error’); }else if(result.id){ var s=’Saved to Drive.’; var s2=”;//henc(result.title); var link=result.alternateLink || result.webContentLink; s2+=’  View’; if(link) s2+=’  New’; if(result.parents && result.parents[0] && result.parents[0].id){ s2+=’  Folder’; } if(result.downloadUrl) s2+=’  Download’; s2+=’  Delete’; //proc_log(s,’uploaded’,s2); _getid(“msg”).innerHTML=s+’ ‘+s2; }else{ _progress(‘log1′,’Unknown Error.’,’error’); } }else{ _progress(‘log1′,’Unknown Error.’,’error’); } }else{ _progress(‘log1′,”Error (status) ” + this.status + “(“+this.statusText+”) occurred while uploading the file.”,’error’); } end(); } xhr.onerror=function(e){ _progress(‘log1′,”Error ” + e.target.status + ” occurred while uploading the file.”,’error’); end(); } xhr.send(fd); }catch(err){ _progress(‘log1′,err+’ or This browser does not support. Please upgrade your browser.’,’error’); end(); } } gd_checklogin(function(){ accessToken = gapi.auth.getToken().access_token; if(!accessToken){ _progress(‘log1′,’Error!! No access token.’,’error’); end();return; } go(); }); } function proc_delete(fileid,f){ if(!fileid) return; if(gd_isdownloading){ alert(“It’s working… Please try again later.”);return; return; } //gd_isdownloading=true; var title=unescape(f.getAttribute(“data”) || ”); function _log(s){ var a=_getid(‘gd_progress2’); if(!a){ _getid(“downlink2″).innerHTML=”

“; a=_getid(‘gd_progress2’); } if(a) a.innerHTML=s; } _log(‘Deleting…’); var request = gapi.client.drive.files[‘delete’]({ ‘fileId’: fileid }); request.execute(function(resp){ //gd_isdownloading=false; var s; if(resp.result && !resp.message){ s=’File deleted successfully. ‘+henc(title)+”; _log(s); }else{ s=’Delete failed. ‘+resp.message+’ ‘+henc(title)+”; _log(s,’error’); } }); } ]]>

Source

Please Login to Comment.