Set Brush Stroke Color dynamically with JavaScript, CSS or PHP

  • Status: Closed
  • Hadiah: $35
  • Entri Diterima: 3
  • Pemenang: postvignesh

Deskripsi Kontes

I need a piece of code that will change the color of the paintbrush stroke dynamically by providing the color in hex or RGB format.
The texture of the stroke should be preserved. Please see the attachments for the examples of the expected results. The file stroke-original.png must be used for the stroke.
I don't need any kind of user interface as long as I can set the color value programmatically.
The code can be written in either HTML/Javascript/CSS for client-side or PHP if you want to have it done on the server-side. Keep in mind that cross-browser compatibility is a must!
Please free to contact me with any questions.
Thanks

Keahlian yang Disarankan

Umpan balik Pemberi kerja

“Fast and effective!”

Gambar profil ashevillemnt, United States.

Entri teratas dari kontes ini

Tampilkan Entri Lainnya

Papan Klarifikasi Publik

  • postvignesh
    postvignesh
    • 5 tahun yang lalu

    The paintbrush is nothing but the mouse pointer right? Oh also the surface under mouse pointer will be an image(like the .png) supplied in the contest information

    • 5 tahun yang lalu
    1. postvignesh
      postvignesh
      • 5 tahun yang lalu

      so you want to extract the color from the image supplied?

      • 5 tahun yang lalu
    2. ashevillemnt
      Penyelenggara Kontes
      • 5 tahun yang lalu

      No, I need to be able to change the brush stroke image color by defining color programmatically. Let say you have an html file with the supplied stroke-original.png image. If you set variable for color as "#48ABE2", the image should look like stroke-blue.png Everything should be done on the fly without Photohop or any image editing software.

      • 5 tahun yang lalu
  • ivanbkovacevic
    ivanbkovacevic
    • 5 tahun yang lalu

    Hello, I find solution. How can I send you example?

    • 5 tahun yang lalu
    1. ashevillemnt
      Penyelenggara Kontes
      • 5 tahun yang lalu

      Hello, please send couple screenshots first. If results are satisfactory, you can then message me with the link of the working example or some explanations. Thanks!

      • 5 tahun yang lalu

Lihat lebih banyak komen

Bagaimana untuk memulai sebuah kontes

  • Buat kontes Anda

    Buat Kontes Anda Cepat dan mudah

  • Dapatkan jutaan entri

    Dapatkan Jutaan Entri Dari seluruh dunia

  • Pilih entri terbaik

    Pilih entri terbaik Unggah file - Mudah!

Buat sebuah Kontes Sekarang atau Gabung dengan kami Hari ini!