[Gimp-developer] pattern for gimp_register_magic_load_handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've got a bunch of files file_name.001, file_name.002, file_name.003, ...
Each pixel is coded with 2 bytes. So I decided to write a loader for this
type of files. But the extensions parameter to
gimp_register_magic_load_handler doesn't accept a pattern like "%03d" to
say that the file extension is a 3 digit integer (padded with zeros).

How to tell Gimp to recognize file extension .001, .002, .003, ... ?

Any hint would be very appreciated!
Sylvain


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux