[haiku-bugs] Re: [Haiku] #3813: Screenshot enhancements

  • From: "Wim" <trac@xxxxxxxxxxxx>
  • Date: Fri, 30 Apr 2010 00:18:19 -0000

#3813: Screenshot enhancements
-------------------------------------+--------------------------------------
 Reporter:  humdinger                |       Owner:  julun         
     Type:  enhancement              |      Status:  new           
 Priority:  normal                   |   Milestone:  R1            
Component:  Applications/Screenshot  |     Version:  R1/Development
 Keywords:                           |   Blockedby:                
 Platform:  All                      |    Blocking:                
-------------------------------------+--------------------------------------

Comment(by Wim):

 Replying to [comment:8 anevilyak]:
 > Replying to [comment:6 Wim]:
 > > I am probably too new at Haiku to understand what these settings are.
 Can be more specific? Do you now of any other application that has
 something like this?
 >
 > An example would be ShowImage. The short of it is, things like
 reading/saving file formats are abstracted out into an addon-based kit of
 their own (src/kits/translation). Apps can thus iterate through the roster
 of available formats, and use any of those to save to the appropriate
 format without having to reimplement those themselves. Those translator
 add-ons in turn can export configuration views which let you fine tune how
 they save (i.e. the one for JPEG allows adjusting the level of compression
 and a few other things). The translation kit portion of http://www.haiku-
 os.org/legacy-docs/bebook/ should answer any questions you have on the
 details of using those add-ons/retrieving the configuration view from
 them.


 In Screenshot the list of image formats that you can choose from is
 generated using BTranslationUtils, and saving the image is also done with
 the Translator kit, so everything is fine as I far as I can tell.

 I looked at the Showimage application and I couldn't find a "Settings..."
 button to "change translator settings" like humdinger requests. As far as
 I an tell the translator kit documentation doesn't mention any settings
 either.

 I am probably missing something here, but if you can give me something
 concrete about what settings that are needed (and why) I can see if I can
 implement it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3813#comment:9>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: