It is currently Thu Apr 25, 2024 10:19 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 128 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: Re: Delaboratory
PostPosted: Sun Feb 05, 2012 7:00 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Can you use the left, right, up and down arrow keys for movement while zoomed? :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Delaboratory
PostPosted: Mon Feb 06, 2012 10:42 am  (#22) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Why can't you use the same method that Gimp uses? Holding down the space bar, lets you move the picture. Releasing it goes back to the original tool.


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 07, 2012 11:03 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2246
Location: Poland
A better solution for image transfer to Delaboratory is plugin (for Windows) RobA (XnView http://www.gimpchat.com/viewtopic.php?f=9&t=970&start=20#p10510 ) - that there is no problem spaces in the path name ("\"C:\\Program Files\\Delaboratory\\delaboratory.exe\" \"")

You need to replace:
pdb.file_png_save_defaults(tempimage, tempdrawable, tempfilename, tempfilename)

to the:
pdb.file_tiff_save2(tempimage, tempdrawable, tempfilename, tempfilename, 0, 1)

#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''
Author:Rob Antonishen
XNViewShell.py (http://www.gimpchat.com/download/file.php?id=1098)
call XNView to allow processing using photoshop plugins.  Windows Only.
Version:0.3 Fixed to work with filters that change alpha.
this script is modelled after the mm extern LabCurves trace plugin
by Michael Munzert http://www.mm-log.com/lab-curves-gimp

Modified for Delaboratory MareroQ 07.02.2012

License:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

The GNU Public License is available at
http://www.gnu.org/copyleft/gpl.html

'''

from gimpfu import *
import shlex
import subprocess
import os, sys
import tempfile

def plugin_main(image, drawable, visible):
  pdb.gimp_image_undo_group_start(image)
 
  # Copy so the save operations doesn't affect the original
  if visible == 0:
    # Save in temporary.  Note: empty user entered file name
    temp = pdb.gimp_image_get_active_drawable(image)
  else:
    # Get the current visible
    temp = pdb.gimp_layer_new_from_visible(image, image, "Visible")
    image.add_layer(temp, 0)

  buffer = pdb.gimp_edit_named_copy(temp, "DelaboratoryShellTemp")

  #save selection if one exists
  hassel = pdb.gimp_selection_is_empty(image) == 0
  if hassel:
    savedsel = pdb.gimp_selection_save(image)
   
  tempimage = pdb.gimp_edit_named_paste_as_new(buffer)
  pdb.gimp_buffer_delete(buffer)
  if not tempimage:
    raise RuntimeError
  pdb.gimp_image_undo_disable(tempimage)

  tempdrawable = pdb.gimp_image_get_active_layer(tempimage)

  # Use temp file names from gimp, it reflects the user's choices in gimp.rc
  # change as indicated if you always want to use the same temp file name
  tempfilename = pdb.gimp_temp_name("tif")
  #tempfilename = os.path.join(tempfile.gettempdir(), "Delaboratorytempfile.tif")
 

  # !!! Note no run-mode first parameter, and user entered filename is empty string
  pdb.gimp_progress_set_text ("Saving a copy")
  pdb.file_tiff_save2(tempimage, tempdrawable, tempfilename, tempfilename, 0, 1)

  # Command line - Change to match where you installed Delaboratory
  command = "\"C:\\Program Files\\Delaboratory\\delaboratory.exe\" \"" + tempfilename + "\""
  args = shlex.split(command)

  # Invoke external command
  pdb.gimp_progress_set_text ("run Delaboratory...")
  pdb.gimp_progress_pulse()
  child = subprocess.Popen(args, shell=False)
  child.communicate()

  # put it as a new layer in the opened image
  try:
    newlayer2 = pdb.gimp_file_load_layer(tempimage, tempfilename)
  except:
    RuntimeError
  tempimage.add_layer(newlayer2,-1)
  buffer = pdb.gimp_edit_named_copy(newlayer2, "DelaboratoryShellTemp")

  if visible == 0:
    sel = pdb.gimp_edit_named_paste(drawable, buffer, 1)
  else:
    sel = pdb.gimp_edit_named_paste(temp, buffer, 1)
   
  pdb.gimp_buffer_delete(buffer)
  pdb.gimp_edit_clear(temp)   
  pdb.gimp_floating_sel_anchor(sel)

  #load up old selection
  if hassel:
    pdb.gimp_selection_load(savedsel)
    image.remove_channel(savedsel)
 
  # cleanup
  os.remove(tempfilename)  # delete the temporary file
  gimp.delete(tempimage)   # delete the temporary image

  # Note the new image is dirty in Gimp and the user will be asked to save before closing.
  pdb.gimp_image_undo_group_end(image)
  gimp.displays_flush()


register(
        "python_fu_Delaboratoryshell",
        "Pass the image to Delaboratory.",
        "Call Delaboratory",
        "Rob Antonishen",
        "Copyright 2011 Rob Antonishen",
        "2011",
        "<Image>/Filters/Extensions/Export to Delaboratory...",
        "RGB*, GRAY*",
        [ (PF_RADIO, "visible", "Layer:", 1, (("new from visible", 1),("current layer",0)))
        ],
        [],
        plugin_main,
        )

main()



Because Delabolatory does not support the file type *.png - You can not use Shellout (http://registry.gimp.org/node/24977 ) :
["Menu Label", "command", "ext"]
it change file extension - but not a real format.


Ps.
RobA solved the problem in 5 minutes
New Shellout is here - works great
http://www.gimpchat.com/viewtopic.php?f=9&t=970&start=170%20#%20p17957
  ["Delaboratory", "\"c:\\Program Files\\Delaboratory\\delaboratory.exe\"", "tiff"],

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Delaboratory
PostPosted: Thu Feb 09, 2012 11:57 am  (#24) 
Offline
GimpChat Member

Joined: Jun 02, 2011
Posts: 58
bilbo9955 it may be good idea, but I will come back to zoom interface after 0.6 release


Top
 Post subject: Re: Delaboratory
PostPosted: Fri Feb 10, 2012 5:50 am  (#25) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Please download the latest beta and let us know if you have any issues with installation and with running the app.

Thanks,
Partha


Top
 Post subject: Re: Delaboratory
PostPosted: Thu Feb 23, 2012 4:26 pm  (#26) 
Offline
New Member

Joined: Feb 23, 2012
Posts: 1
Can't be moving pictures implemented with just Ctrl/Shift+Mouse or sth similar? It's really big inconvenience when working on images with small patterns, especially on small screen. Every time I have to cut part of image in gimp, get the settings right, save layer stack, open original image, restore layer stack :(
I miss deleting points on curves - like in gimp, or with additional key (don't know if is possible now at all).


Top
 Post subject: Re: Delaboratory
PostPosted: Mon Feb 27, 2012 6:06 am  (#27) 
Offline
GimpChat Member

Joined: Jun 02, 2011
Posts: 58
To delete point on curve you have two options:
- grab it with mouse and move away from panel
- select point and press "x"


Top
 Post subject: Re: Delaboratory
PostPosted: Mon Feb 27, 2012 8:37 am  (#28) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
a gmic plugin for delaboratory is still in your wish list ?
i would love it, and i well i would like to know if are progress

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Delaboratory
PostPosted: Mon Feb 27, 2012 6:28 pm  (#29) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
PhotoComix wrote:
a gmic plugin for delaboratory is still in your wish list ?
i would love it, and i well i would like to know if are progress

Not on the list yet. :)

Stay tuned.


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 28, 2012 6:50 am  (#30) 
Offline
GimpChat Member

Joined: Jun 02, 2011
Posts: 58
RAW support and Zoom support are already on SVN.
Expect new stable version in weeks.

gmic support is very important but not so easy, so not on this release yet


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 28, 2012 9:01 am  (#31) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i was not expecting for this release but happy to know that is high in your wishlist

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 28, 2012 1:28 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2246
Location: Poland
Can I ask for changes, the beta versions for Windows?
Download SVN for Linux - it is not easy - you need detailed instructions and information: you need additional software ?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 28, 2012 2:48 pm  (#33) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Nice thanks! :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 28, 2012 8:10 pm  (#34) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
MareroQ wrote:
Can I ask for changes, the beta versions for Windows?
Download SVN for Linux - it is not easy - you need detailed instructions and information: you need additional software ?

I am not sure I know what you are asking. Do you want instructions for Windows or Linux?

Thanks,
Partha


Top
 Post subject: Re: Delaboratory
PostPosted: Tue Feb 28, 2012 8:47 pm  (#35) 
Offline
GimpChat Member

Joined: Jun 02, 2011
Posts: 58
We will release beta when all new features will be implemented and only bugfixing will be needed. Just like we did before 0.6.

Currently if you want to test development version you have to use SVN and compile code yourself. For Linux it's trivial, for Windows it's not.


Top
 Post subject: Re: Delaboratory
PostPosted: Wed Feb 29, 2012 5:20 am  (#36) 
Offline
GimpChat Member

Joined: Jun 02, 2011
Posts: 58
I updated the RoadMap to indicate that gmic support is planned.


Top
 Post subject: Re: Delaboratory
PostPosted: Sun Mar 25, 2012 9:10 am  (#37) 
Offline
GimpChat Member

Joined: Jun 02, 2011
Posts: 58
delaboratory 0.6.9.1 beta has been released

this version introduces RAW support via dcraw, so if you want to play with your RAW files new way, please try delaboratory and use "send to GIMP" button to continue your postprocessing inside GIMP

please report all crashes and serious problems so I could fix it for 0.7


Top
 Post subject: Re: Delaboratory
PostPosted: Sun Mar 25, 2012 11:09 am  (#38) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
jacek wrote:
delaboratory 0.6.9.1 beta has been released

this version introduces RAW support via dcraw, so if you want to play with your RAW files new way, please try delaboratory and use "send to GIMP" button to continue your postprocessing inside GIMP

please report all crashes and serious problems so I could fix it for 0.7

This release also includes the first Mac release. Please unzip anywhere you like and you are set. You can drag it to the apps folder or run from where you unzipped. Works on Snow Leopard (or may be higher). Need feedback on Lion if anyone can test it.

One caveat, you have to quit from the file menu. The delaboratory menu item is not quitting for some reason.

Partha


Top
 Post subject: Re: Delaboratory
PostPosted: Sun Mar 25, 2012 11:46 am  (#39) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
thank for the update

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Delaboratory
PostPosted: Sun Mar 25, 2012 12:03 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I am running Windows XP
Thanks for the new release! :)
Zoom works really well.
Is there a way you can setup send to Gimp so i can choose which version to send it to?
I would like to send it to a stable version "Gimp-2.6.12"
Currently it selects Gimp-2.7 which i do not have installed. Right away it throws a libintl-8.dll error.
Image
Thanks again!

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 128 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group