Regarding adding a new feature of delay in RMagick

25 views
Skip to first unread message

Adit Mehta

unread,
Mar 18, 2018, 2:26:59 PM3/18/18
to Ruby Google Summer of Code
Hi Sir,
I am Adit Mehta, GSoC applicant, interested in contributing RMagick project, first-year student of DAIICT. I know Ruby, C, C++, PHP, and Chapel. 
While I was learning RMagick I was amazed by the ability to create GIF. I got to know that delay feature was adding same time to every picture of GIF but then I thought of adding a new function which will able to give time to every picture specifically according to the user.

How would that be of having such feature in RMagick?

Here is the code, I have examined it works perfectly
    def delay_pre=(d)
      if Integer(d) < 0
         fail ArgumentErro, 'delay must be greater than or equal to 0'
      end
      f = @images.last
      f.delay = Integer(d)
    end  


Thanks,

Adit Mehta
Reply all
Reply to author
Forward
0 new messages