Posts by AmauryMedeiros • 258 points
5 posts
-
3
votes2
answers396
viewsA: How to optimize the color palette of a Gif?
I believe you can use Encoder.ColorDepth to determine the maximum color depth (in bits). try { Encoder encoder = Encoder.ColorDepth; EncoderParameters encoderParams = new EncoderParameters(1); //…
-
4
votes1
answer68
viewsA: Problems in the installation of Grails
It does not seem to be a problem of the grails. Try to add C:\WINDOWS\system32 in your Environment variable Path
-
2
votes1
answer955
viewsA: I’m having trouble calling a python function
Its function editor was set after the call from bios. Try to define it before bios, since this function uses editor.
pythonanswered AmauryMedeiros 258 -
1
votes2
answers306
viewsA: Notification data Pagseguro
From what I read in the library, the method check_notification returns an object of type PagSeguroNotificationResponse. Observe the method parse_xml of that class: def parse_xml(self, xml): try:…
pythonanswered AmauryMedeiros 258 -
1
votes2
answers1948
viewsA: Convert seconds to hours in Extjs
You can do a function in javascript. Something like: function segundosParaHora(seg) { var horas = Math.floor(seg/(60*60)); var resto = seg % (60*60); var minutos = Math.floor(seg/60); resto %= 60;…