Looks like there is a regression with Lua, my module used to get all the
supported format in the callback, but now supported_callback is only
called for PPM et JPG. The (simplified) code I'm using looks like this:

function supported_callback(storage,format)
   fmt = string.lower(format.name)
   print("fmt is"..fmt)
end

dt.register_storage("module_print","view with
profile",store_callback,nil,supported_callback)

Any idea?

And if the callback returns true or false does not matters, all the
format are listed in the export dialog.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to