Folgende Routine sichert als JPEG problemlos, PBG aber nicht.
Hat jemand den entscheidenden Tip?
elseif ExportArt="JPEG" then
f=GetSaveFolderItem("alle","bild.jpg")
if f<>nil then
if f.saveasjpegMBS(Ausschnitt.Bild,100) then
hinweis("Das Bild wurde als JPEG-Datei gesichert.")
else
hinweis("Das Bild konnte nicht gesichert werden.")
end
end
Ausschnitt.Close
'Bemerkungen.Close
elseif ExportArt="PNG" then
f=GetSaveFolderItem("alle","bild.png")
if f<>nil then
if f.SaveAsPNGMBS(Bild,0) then
hinweis("Das Bild wurde als PNG-Datei gesichert.")
else
hinweis("Das Bild konnte nicht gesichert werden.")
end
end
MfG, Metti.
From Sat 22 Sep 2007 23:44:37 +0200
Return-Path: <realbasic-nug dot de-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 80FD2446D636; Sat, 22 Sep 2007 14:46:06 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.5 required=4.5 tests=AWL,BAYES_00 autolearn=ham
version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id C987B446D62B;
Sat, 22 Sep 2007 14:46:01 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id 283496AF550;
Sat, 22 Sep 2007 16:45:47 -0500 (CDT)
X-Original-To: realbasic-nug dot de at lists dot realsoftware dot com
Delivered-To: realbasic-nug dot de at lists dot realsoftware dot com
Received: from smtprelay09.ispgateway.de (smtprelay09.ispgateway.de
[80.67.29.23])
by lists.realsoftware.com (Postfix) with ESMTP id 0BB5A6AF545
for <realbasic-nug dot de at lists dot realsoftware dot com>;
Sat, 22 Sep 2007 16:45:42 -0500 (CDT)
Received: (qmail 2834 invoked from network); 22 Sep 2007 21:45:55 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 99 dot
187])
(envelope-sender <support at monkeybreadsoftware dot de>)
by smtprelay09.ispgateway.de (qmail-ldap-1.03) with SMTP
for <realbasic-nug dot de at lists dot realsoftware dot com>;
22 Sep 2007 21:45:55 -0000
To: realbasic-nug dot de at lists dot realsoftware dot com (REALbasic NUG
German)
In-Reply-To: <3273344698 dot 236126400476 at [192 dot 168 dot 178 dot 100]>
Subject: Re: SaveAsPNGMBS funktioniert nicht
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Sat, 22 Sep 2007 23:44:37 +0200
Message-ID: <1i4v8lo dot 15zw5aq1q2wgvxM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.8 (Mac OS X version 10.4.9 (PPC))
X-BeenThere: realbasic-nug dot de at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG German <realbasic-nug dot de at lists dot realsoftware dot
com>
Sender: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Stefan Mettenbrink <S dot Metti at gmx dot de> wrote:
Folgende Routine sichert als JPEG problemlos, PBG aber nicht.
Hat jemand den entscheidenden Tip?
if f.saveasjpegMBS(Ausschnitt.Bild,100) then
if f.SaveAsPNGMBS(Bild,0) then
wieso einmal auschnitt.bild und einmal bild?
Gruß
Christian
--
Over 900 classes with 17000 functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v7.6.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
|