Csound Csound-dev Csound-tekno Search About

[Cs-dev] image opcodes and dependencies

Date2008-01-04 21:07
Fromvictor
Subject[Cs-dev] image opcodes and dependencies
AttachmentsNone  None  
The new image opcodes have brought in new dependencies (libpng); while it
seems OK to get and build libpng, I would like to see an option in scons
to disable the build so that we don't require this on a base system. Perhaps
the option should default to "0" (don't build it).
 
Victor

Date2008-01-04 21:45
From"Steven Yi"
SubjectRe: [Cs-dev] image opcodes and dependencies
AttachmentsNone  

Date2008-01-04 23:03
FromCesare Marilungo
SubjectRe: [Cs-dev] image opcodes and dependencies
I'm not sure anymore if using the png format (and pnglib) has been the 
right decision. I wanted to support more formats but I haven't found a 
GPL-ed cross platform library. I could have used some simple image 
format (like window bmp, or targa) and eliminate any dependency. The 
advantages of png are that it is compressed and that it supports 
multiple bit depths, alpha channels, grayscale. It is also more common 
than bitmap or targa, especially among open source users.

-c.

Steven Yi wrote:
> Well, if possible could we have it just check for libpng and build if
> found and not if not found rather than have an option?  Otherwise, I
> guess if one really wanted to control that, I would imagine having an
> autodetect but also a flag with default to 1 would be nice.
>
> On Jan 4, 2008 1:07 PM, victor  wrote:
>   
>> The new image opcodes have brought in new dependencies (libpng); while it
>> seems OK to get and build libpng, I would like to see an option in scons
>> to disable the build so that we don't require this on a base system. Perhaps
>> the option should default to "0" (don't build it).
>>
>> Victor
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>     
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>   


-- 
www.cesaremarilungo.com 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-01-04 23:39
FromFelipe Sateler
SubjectRe: [Cs-dev] image opcodes and dependencies
AttachmentsNone  None  None  

Date2008-01-05 00:46
From"Steven Yi"
SubjectRe: [Cs-dev] image opcodes and dependencies
AttachmentsNone  

Date2008-01-05 09:19
Fromjpff
SubjectRe: [Cs-dev] image opcodes and dependencies
For the moment I have added an option on building the image opcodes,
defaults to build, and then to check that png.h exists.  Really we
should be using CheckLibWithHeader('png', 'png.h') but so far I have
failed to get that to work (memo to self: must learn some python --
what is difference between ' and "?)

==John ffitch

"This research is of insufficient standard"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-01-05 09:37
FromTim Mortimer
SubjectRe: [Cs-dev] image opcodes and dependencies
when one functions as a quote string it can then encapsulate the other as a
charachter, but u can go either way

x = "so 'this' works"
y = 'and "this" does too'

print x
print y

is that what you were asking?


jpff wrote:
> 
>  (memo to self: must learn some python --
> what is difference between ' and "?)
> 
> ==John ffitch
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/image-opcodes-and-dependencies-tp14624987p14631378.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-01-05 16:31
FromFelipe Sateler
SubjectRe: [Cs-dev] image opcodes and dependencies
AttachmentsNone  None  None