Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added logo-concepts/A10_chunky_pencil_swoosh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A2_pencil_diagonal_bold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A3_double_pencil_cross.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A4_pencil_spiral_orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A5_continuous_line_pencil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A5a_continuous_thick_confident.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A5b_continuous_elegant_zen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A5c_continuous_loop_swoosh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A6_geometric_pencil_abstract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A7_pencil_negative_space.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A8_drawover_logo_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A8_solid_pencil_mark_orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A9_pencil_block_stamp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A_pencil_arc_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A_pencil_arc_dark_nobg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A_pencil_arc_dark_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A_pencil_logo_clean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/A_pencil_logo_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/B_lens_doodles_orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/C_glowing_marker_night.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/D_eyeball_stylus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/E_finger_draw_glass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo-concepts/F_layered_screens_brush.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions logo-concepts/make_icons.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
from PIL import Image
import os

RESAMPLE = Image.Resampling.LANCZOS

src = Image.open('A8_solid_pencil_mark_orange.png').convert('RGBA')
icon_dir = '../src-tauri/icons'
os.makedirs(icon_dir, exist_ok=True)

# Tauri required icon sizes
sizes = {
'32x32.png': 32,
'128x128.png': 128,
'128x128@2x.png': 256,
'icon.png': 512,
}

for name, size in sizes.items():
resized = src.resize((size, size), RESAMPLE)
resized.save(os.path.join(icon_dir, name))
print(f" {name} ({size}x{size})")

# Generate .ico (Windows)
ico_sizes = [16, 32, 48, 64, 128, 256]
src.save(os.path.join(icon_dir, 'icon.ico'), format='ICO', sizes=[(s, s) for s in ico_sizes])
print(f" icon.ico ({len(ico_sizes)} sizes)")

# Generate .icns (macOS) - requires png2icns or manual
# Use pillow if available, otherwise skip
try:
icns_path = os.path.join(icon_dir, 'icon.icns')
src.save(icns_path, format='ICNS')
print(f" icon.icns")
except Exception as e:
print(f" icon.icns SKIPPED ({e})")

# Also save a Square30x30Logo.png and Square44x44Logo.png for Windows tile
for name, sz in [('Square30x30Logo.png', 30), ('Square44x44Logo.png', 44), ('Square71x71Logo.png', 71), ('Square89x89Logo.png', 89), ('Square107x107Logo.png', 107), ('Square142x142Logo.png', 142), ('Square150x150Logo.png', 150), ('Square284x284Logo.png', 284), ('Square310x310Logo.png', 310)]:
src.resize((sz, sz), RESAMPLE).save(os.path.join(icon_dir, name))

# Copy transparent version as logo asset
logo_dir = '../src/assets'
os.makedirs(logo_dir, exist_ok=True)
transparent = Image.open('A8_drawover_logo_transparent.png')
transparent.save(os.path.join(logo_dir, 'logo.png'))

# Also save full-res to assets
src.save(os.path.join(logo_dir, 'logo-full.png'))

print("\n=== ALL ICONS GENERATED ===")
17 changes: 17 additions & 0 deletions logo-concepts/make_transparent.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from PIL import Image
import numpy as np

# Load A8
img = Image.open('A8_solid_pencil_mark_orange.png').convert('RGBA')
arr = np.array(img)

# A8 has pure white background. Make near-white pixels transparent.
r, g, b = arr[:,:,0], arr[:,:,1], arr[:,:,2]
white_mask = (r > 240) & (g > 240) & (b > 240)

arr[:,:,3] = np.where(white_mask, 0, 255)
result = Image.fromarray(arr)
result.save('A8_drawover_logo_transparent.png')
pct = white_mask.sum() / white_mask.size * 100
print(f"Transparent: {pct:.0f}% | Opaque: {100-pct:.0f}%")
print(f"Size: {result.size}")
Binary file modified src-tauri/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/128x128@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/32x32.png
Binary file added src-tauri/icons/Square107x107Logo.png
Binary file added src-tauri/icons/Square142x142Logo.png
Binary file added src-tauri/icons/Square150x150Logo.png
Binary file added src-tauri/icons/Square284x284Logo.png
Binary file added src-tauri/icons/Square30x30Logo.png
Binary file added src-tauri/icons/Square310x310Logo.png
Binary file added src-tauri/icons/Square44x44Logo.png
Binary file added src-tauri/icons/Square71x71Logo.png
Binary file added src-tauri/icons/Square89x89Logo.png
Binary file modified src-tauri/icons/icon.icns
Binary file not shown.
Binary file modified src-tauri/icons/icon.ico
Binary file not shown.
Binary file modified src-tauri/icons/icon.png
Binary file added src/assets/logo-full.png
Binary file added src/assets/logo.png
Loading