APEX is a fictional company. It was made up to show how Filestack works in construction, so the firm, its people and its figures are invented.
What powers it is real. Every upload, drawing preview, page render and rotation in APEX is a real call to the Filestack API.
View source on GitHubWhat Is Construction Drawing Review?
Construction drawing review puts a client’s drawings in front of an estimator or architect in the browser, ready to read and price. Filestack serves one uploaded PDF two ways: preview/HANDLE opens it in a hosted document viewer, and a chain of output, rotate, monochrome and resize tasks renders any page as an image the app controls.
Download and open
- AttachmentA 40-page drawing set
- DownloadTo the estimator's laptop
- Desktop appReview outside your product
Two viewers, one handle
- UploadFrom a drive, a link or the device
- previewPage through the set
- Task URLA page to rotate and recolor
- Tasks
preview,output,rotate,monochrome,blackwhiteandresize- Viewer
preview/HANDLEin an iframe, with paging, scrolling and zoom- Page render
output=format:png,page:N,density:150rasterizes one page- Thumbnails
- The first page at
density:72, cropped square, from the same handle - Formats
- PDF drawings and images render in both viewers
- Sources
- The device, a URL, Google Drive and Dropbox through File Picker
- Plans
- Output, rotate, monochrome and resize on every plan. Pricing
- Demo source
- APEX, a Next.js app. View on GitHub
One URL Turns a PDF Page Into a Blueprint
To render a PDF drawing page as an image with Filestack, put output=format:png with a page number and a density first in the CDN URL, then rotate, filter and resize. Tasks run left to right, so resize goes last.
cdn.filestackcontent.comThe Filestack CDNoutput=format:png,page:1,density:150Rasterizes page 1 at 150 DPIrotate=deg:90Turns the sheetmonochromeOne channel, for the blueprint lookresize=width:1600,fit:maxLast, on the filtered pageHANDLEThe PDF
density- The DPI the page is rasterized at. 150 keeps dimension text legible; 72 suits a thumbnail.
- Resize last
- Filtering the full-size raster keeps the hairline detail drawings depend on.
monochromeorblackwhitemonochromeflattens to one channel;blackwhitethresholds faint pencil lines to pure black and white.
const tasks = [];
if (file.mimetype === 'application/pdf') {
tasks.push(`output=format:png,page:${page},density:150`);
}
if (rotate) tasks.push(`rotate=deg:${rotate}`);
if (filter === 'blueprint') tasks.push('monochrome');
if (filter === 'grayscale') tasks.push('blackwhite');
tasks.push(`resize=width:${width},fit:max`);
return ['https:/
}
Inside APEX, a Quote Portal Built on Filestack
APEX is a demo construction quote portal built on Filestack and Next.js. The firm is invented and every file call is real: a client attaches drawings to a quote request, and an architect reviews them in two viewers and sends an estimate.
Drawings sit in a shared drive, a contractor's Dropbox or an emailed link. File Picker takes all of them, and
maxFilescaps the request against what is already attached.preview/HANDLEreturns an HTML viewer with page navigation, scrolling and zoom. One iframe replaces a PDF library and its worker for an estimator reading a 40-page set.The blueprint view is a task URL, so the app sets the page, the rotation and the filter. The blue is a CSS hue rotation over the monochrome raster, which the browser applies for free.
The dashboard tile for each quote is the drawing's own first page, at
density:72and cropped square. One upload feeds the tile, the page render and the viewer.
client.picker({
accept: ['.pdf', 'image/*'],
maxFiles: maxFiles - files.length,
fromSources: ['local_file_system', 'url', 'googledrive', 'dropbox'],
onUploadDone: ({ filesUploaded }) => filesUploaded.forEach(attachToQuote),
}).open();
title="Site plan, sheet set" width="100%" height="560"></iframe>
img.style.filter = 'hue-rotate(180deg) invert(85%) contrast(120%)';
img.style.transform = `scale(${zoom / 100})`; // zoom stays in CSS
const tasks = file.mimetype === 'application/pdf'
? ['output=format:png,page:1,density:72']
: [];
tasks.push(`resize=width:${size},height:${size},fit:crop`);
return ['https:/
}
What Reviewing Drawings In-House Takes
Reviewing drawings in-house takes a conversion service, a rasterizer for PDF pages, a viewer with paging and zoom, storage for derived images, a cache so each page renders once, and thumbnails. Filestack serves all of it from the handle.
Build a Rendering Pipeline
Compose Two URLs
https:/
Adding a rendering mode costs a function.
Tour the APEX Quote Portal
Pick a side when you sign in to APEX: the client submits drawings with a quote request, and the architect reviews them and sends an estimate.
Split the Work Between the CDN and CSS
Every distinct task chain is a separate render and a separate cache entry. Send the CDN the work that needs the original bytes or changes what is downloaded, and keep free visual tweaks such as hue and zoom in CSS.
CDN for heavy work
Rasterizing a page, converting format, dropping a channel, resizing the payload.
CSS for free tweaks
Hue rotation, contrast and preview zoom run free in the browser.
One source of zoom
Render once at a good width and zoom in CSS, or re-fetch at a higher width, one or the other.
PDF is the proven path
A PDF export is how most drawings reach a client. Test native CAD files with a sample on your own account.
Screen contractor files
virus_detectionin a Workflow checks drawings before an architect opens them.Lock the key down
Allow your origins, list the MIME types you accept and set a size cap.
const src = blueprintUrl(file, { page, rotate: rotation, width: 2000 });
const style = {
filter: mode === 'blueprint'
? 'hue-rotate(180deg) invert(85%) contrast(120%)'
: 'grayscale(100%) contrast(150%)',
transform: `scale(${zoom / 100})`,
};
Ways to Review Drawings Online Compared
Filestack serves a hosted viewer and rendered pages from one upload, inside your product. Downloading moves the review to desktop software, and a self-built viewer means running a PDF library and a rendering service.
| Download and open | PDF library and rendering service | Filestack preview and task URLs | |
|---|---|---|---|
| Where the review happens | In desktop software | In your product | In your product |
| Paging and zoom | The desktop app | A viewer component you maintain | The hosted preview |
| Rotated and filtered pages | The desktop app | Your rendering service | output, rotate, monochrome and resize in a URL |
| Dashboard thumbnails | Uploaded by hand | A worker you run | The first page at density:72, cropped square |
| Time to production | Ready on day one | A viewer, a rasterizer and a cache | Most teams ship their first upload within minutes |
Desktop CAD software suits engineers who edit the drawing itself.
The Same Handle Across the Construction Workflow
Store the handle once and every other view of a drawing or site photo is a URL: title-block reading, phone-photographed sheets, dark site photos and marked copies for subcontractors.
Title block reading
Read drawing numbers and revisions off the title block, with a box per word.
ocr
Sheets photographed on site
Straighten a drawing someone photographed on a phone.
doc_detection
Underexposed site photos
Brighten progress photos taken in poor light.
enhance
Old low-resolution drawings
Enlarge a scan that only exists at low resolution.
upscale
Marked copies for subcontractors
Stamp a drawing before it leaves the firm.
watermark
Contractor network uploads
Scan drawings forwarded across many firms.
virus_detection
Review every drawing inside your product, from one upload.
- Most teams ship their first upload within minutes
- Trusted by 100,000+ applications
- SOC 2 compliant
Construction Drawing Review FAQs
How can I view construction drawings in the browser?
Upload the drawing to Filestack and load preview/HANDLE in an iframe. The hosted viewer handles page navigation, scrolling and zoom for PDFs and Office documents.
How do I turn a PDF drawing into an image?
Add output=format:png,page:1,density:150 to the file’s CDN URL. Filestack rasterizes that page at 150 DPI, and rotate, monochrome and resize can follow in the same URL.
Why does resize go last in the chain?
Tasks run left to right, so filtering the full-size raster before resizing keeps the hairline detail drawings depend on, including small dimension text.
Which drawing formats render in both viewers?
PDF drawings and images render in both viewers, and a PDF export is how most drawings reach a client. Confirm native CAD formats such as DWG with a sample file on your own account.
Does every filter and zoom level create a new render?
Each distinct task chain renders once and is cached. Keep hue rotation and zoom in CSS, and send the CDN the work that needs the original bytes, so one page needs one render.
Is APEX a real company or a Filestack customer?
APEX is a fictional company, created to show how Filestack works in construction. The firm, its people and its figures are invented, and the demo runs on the real Filestack API.
Can I see the code behind the APEX demo?
Yes. APEX is open source on GitHub in the filestack-use-cases repository, under apps/fs-construction. It is a Next.js app with the uploader, both viewers and the thumbnails.