ConvertX icon indicating copy to clipboard operation
ConvertX copied to clipboard

[Feature Request] VTracer

Open narutozxp opened this issue 7 months ago • 3 comments

Describe the solution you'd like Would it be possible to add support for VTracer? I think it would be a great addition.

Additional context

  • GitHub: https://github.com/visioncortex/vtracer?tab=readme-ov-file
  • Demo: https://www.visioncortex.org/vtracer/

narutozxp avatar Jul 04 '25 03:07 narutozxp

Hi @C4illin

I've successfully implemented VTracer support for ConvertX and would love to contribute this feature. Here's what I've accomplished:

Implementation Complete

Backend Implementation

  • ✅ Created src/converters/vtracer.ts following the existing converter patterns
  • ✅ Supports all major raster formats: PNG, JPG, BMP, GIF, TIFF → SVG
  • ✅ Uses VTracer's default settings for optimal results
  • ✅ Proper error handling and logging

Docker Integration

  • ✅ Updated Dockerfile to download and install VTracer v0.6.4 binary
  • ✅ Multi-architecture support (x86_64 and aarch64)

🛠️ Technical Details

VTracer Integration:

  • Uses VTracer v0.6.4 (latest stable release)
  • Downloads from official GitHub releases
  • Supports the same architecture detection as Bun installation
  • Integrates seamlessly with the existing ConvertX converter architecture

Code Quality:

  • Follows TypeScript best practices and ConvertX patterns
  • Proper error handling with detailed error messages
  • Maintains consistency with other converters

Would you like me to open a Pull Request? I'm ready to submit this contribution for your review.

SAHIL-Sharma21 avatar Aug 12 '25 17:08 SAHIL-Sharma21

@SAHIL-Sharma21 nice! open a PR and I will take a look!

C4illin avatar Aug 12 '25 17:08 C4illin

Hey, @C4illin I have opened a PR https://github.com/C4illin/ConvertX/pull/388 Please have a look.

SAHIL-Sharma21 avatar Aug 13 '25 11:08 SAHIL-Sharma21