Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5021

Re: Shinking JPEGs

Newsgroups comp.lang.clipper.visual-objects
Date 2013-04-05 02:29 -0700
References <f55b1bdf-9f72-42f0-988e-8e1f41519d13@googlegroups.com> <e4db51d7-2d5b-4e67-a695-82348ec05da7@googlegroups.com> <4f1805d7-0dbd-4d74-8487-3cfc42631711@googlegroups.com> <ea00abfe-7b4e-48d1-ade7-af0a52e6cee9@googlegroups.com> <e8329bd2-d543-4c2f-b9aa-17538f32abc7@googlegroups.com>
Message-ID <abd55b23-cd4d-41a8-9d92-d080ee8fce75@googlegroups.com> (permalink)
Subject Re: Shinking JPEGs
From Paulo Oliveira <paulo@clipinfor.com>

Show all headers | View raw


Hi Kuno,

Basically it is only necessary:

FUNCTION CreateThumbnail2Folder(cJpg,cDest,x,y)
LOCAL oFS AS FileSpec
LOCAL oFab AS FabPaintLib
oFab:=FabPaintLib{}
oFS:=FileSpec{cJpg}
IF oFab:CreateFromFile(cJpg)
	oFab:ResizeBilinear(x,y)
    oFab:SaveAsJPEG(cDest+"\"+oFS:FileName+oFS:Extension)
ENDIF

I save my thumbnail in a different folder, 

Paulo Oliveira

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Shinking JPEGs Kuno Egger <kuno@retailsoftware.com> - 2013-04-03 12:21 -0700
  Re: Shinking JPEGs "Jamal" <jamal@examples.net> - 2013-04-03 16:48 -0400
  Re: Shinking JPEGs Fabrice Foray <fabrice.foray@gmail.com> - 2013-04-03 13:53 -0700
    Re: Shinking JPEGs Kuno Egger <kuno@retailsoftware.com> - 2013-04-04 10:04 -0700
      Re: Shinking JPEGs Fabrice Foray <fabrice.foray@gmail.com> - 2013-04-04 13:50 -0700
        Re: Shinking JPEGs Kuno Egger <kuno@retailsoftware.com> - 2013-04-04 15:10 -0700
          Re: Shinking JPEGs Paulo Oliveira <paulo@clipinfor.com> - 2013-04-05 02:29 -0700
          Re: Shinking JPEGs Fabrice Foray <fabrice.foray@gmail.com> - 2013-04-06 02:28 -0700
  Re: Shinking JPEGs "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-04 07:36 +0200
  Re: Shinking JPEGs Sherlock <sherlock@sherlock.com.au> - 2013-04-04 08:11 -0700
    Re: Shinking JPEGs Kuno Egger <kuno@retailsoftware.com> - 2013-04-04 10:08 -0700
  Re: Shinking JPEGs Karl Wochele <kw@e©os-system.de> - 2013-04-17 09:49 +0200

csiph-web