• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Shaban111

Shaban111

T

Public
Like
T
Home
Code
2
frontend
2
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/24/2025
Viewing readonly version of main branch: v3
View latest version
README.md

WhatsApp Profile Picture Resizer

A simple web app that automatically centers any photo (horizontal or vertical) on a 1:1 square canvas without cropping. Perfect for creating WhatsApp profile pictures.

Features

  • Upload any photo (horizontal or vertical)
  • Automatically centers the image on a 640x640 square canvas
  • Preserves original photo quality and aspect ratio
  • No cropping, background, or filters applied
  • Mobile-friendly interface
  • Download or share the resized image
  • Preview before processing

Usage

  1. Click "Choose Photo" to select an image
  2. Preview your selected image
  3. Click "Resize for WhatsApp DP" to process
  4. Download or share the final square image

Technical Details

  • Frontend: React with TypeScript
  • Canvas API for image processing
  • Responsive design with TailwindCSS
  • Works on mobile and desktop
  • Client-side processing (no server upload required)

Project Structure

├── frontend/
│   ├── index.html          # Main HTML template
│   ├── index.tsx           # React app entry point
│   └── components/
│       └── App.tsx         # Main app component
├── backend/
│   └── index.ts            # Static file server
└── README.md
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.