mirror of
https://github.com/igorski/bitmappery.git
synced 2026-06-17 03:34:56 +02:00
72872fa8dc8f6bc6483c1b4dfdea93b81ada7e0c
BitMappery
So you are rebuilding Photoshop in the browser ?
No, I'm building a tool that does the bare minimum what I require and what I don't find in other open source tools. That doesn't mean of course that contributions related to Photoshop-esque features aren't welcomed.
All self-written ?
Yep, though it helps having worked five years in the photo software industry and having tackled the problems before. Also, Bitmappery is reusing zCanvas for rendering and bitmap blitting.
BitMappery does however make use of the following excellent libraries to speed up its development:
- Vue with Vuex and VueI18n
- Pickr by Simonwep
- Vue slider component by NightCatSama
- Vue search select by Moreta
- Vue tooltip by Akryum
Icons
- UI Essentials by www.wishforge.games
- Black arrow icons set by Reda
Dropbox integration
Requires you to register a client id or access token.
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your unit tests
npm run test
Lints and fixes files
npm run lint
TODO / Roadmap
- Try very wide Dropbox image on MB Air with space + pan in bottom right area. Won't work.
- Restoring positions of documents with positioned rotated objects is not accurate
- Issue with drawing mask on mirrored content
- Moving of flipped / rotated content leads to occasional non-renders (isInsideViewport doesn't take rotated rectangles into account)
- Copying selections on rotated content doesn't work
- Copying selection should preserve original scale
- Fill selection with color (make color not unique to brush, but generic tool prop)
- Animate selection lines between white and black colors
- When resizing document, positioned layers do not scale their position correctly
- Layer bitmaps and masks must not be stored as Vue observables
- Layer view in options-panel: allow naming, repositioning, toggling visibility and opacity
- Canvas util : store transparency of images into saved document
- Restored base64 images should be treated as binary once more (see layer-factory)
- Zoom set original size isn't that accurate (check also on mobile views), needs calculateMaxScaling ?
- Unload Blobs when images are no longer used in document (see sprite-factory disposeSprite, keep instance count of usages)
- Load/save documents directly from/to Dropbox
- Implement layer scaling
- Implement rectangular selection
- Implement merged layer selection
- Implement document crop
- Implement clone brush
- Implement change history
- Implement pattern to activate scrollpane on touch screens
- Scale logic should move from zoomable-canvas into zCanvas (as handleInteraction needs to transform offsets by zoom ratio, see LayerSprite!)
Description
No description provided
browserimage-editorimage-processingphoto-editorphotosphotoshoppwapwa-appstypescriptvuevuejswasmwebassembly
Readme
MIT
7 MiB
Languages
TypeScript
68.3%
Vue
28.8%
SCSS
2.1%
HTML
0.4%
C++
0.3%
Other
0.1%