Welcome Guest, Not a member yet? Register   Sign In
Image resizing in loop.
#5

[eluser]xwero[/eluser]
You don't have to load the library outside your method. If it isn't loaded you will get an error, and if it is loaded the loading will not occur but you can use it's methods. So you can consider the loading of the library inside the method as a way to prevent bugs.

My rule of thumb is if a library has an init(ialize) method use that instead of the load->library method second parameter.


Messages In This Thread
Image resizing in loop. - by El Forum - 09-07-2008, 06:57 AM
Image resizing in loop. - by El Forum - 09-07-2008, 08:23 AM
Image resizing in loop. - by El Forum - 09-07-2008, 08:30 AM
Image resizing in loop. - by El Forum - 09-07-2008, 09:34 AM
Image resizing in loop. - by El Forum - 09-07-2008, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB