MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ImageResize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102435] Re: [mg102391] ImageResize
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Sun, 9 Aug 2009 06:06:09 -0400 (EDT)
  • References: <200908080835.EAA01103@smc.vnet.net>

Hi,

first it is always nice if you post a *working* minimal example of your
problem since otherwise noone knows where your real error is.
Why doesn't you use ImageCompose?

p1 = ImageResize[Import["http://www.posta.si/DezelaZnamk/ViewBi\
gImage.aspx?imageid=2568\n"], 100]; 
p2 = ImageResize[Import["http://www.posta.si/DezelaZnamk/ViewBi\
gImage.aspx?imageid=2886\n"], 200]; 
ImageCompose[p2, {p1, 0.8}]
ImageDimensions /@ {p1, p2}

Cheers
Patrick

On Sat, 2009-08-08 at 04:35 -0400, jozef.pulko at googlemail.com wrote:
> Hi,
> 
>  
> 
> I am trying to resize two pictures and put them after resizing together. I
> am using a ImageResize function which resizes the image. but when I combine
> both pictures. they are not resized. I am using Mathematica 7.0.
> 
>  
> 
> Code:
> 
>  
> 
> p1=ImageResize[
> 
>  
> slika=Import["http://www.posta.si/DezelaZnamk/ViewBigImage.aspx?imageid=2568
> "],
> 
>   100
> 
>   ]
> 
>  
> 
> p2=ImageResize[
> 
>  
> slika=Import["http://www.posta.si/DezelaZnamk/ViewBigImage.aspx?imageid=2886
> "],
> 
>   200
> 
>   ]
> 
>  
> 
> ImageDimensions/@{cc1,cc2}
> 
>  
> 
> Graphics[FrameRTrue,BackgroundRBlack,PlotRangeR{{0,100},{0,150}},ImageSizeR{
> Pixel[100],Pixel[150]},EpilogR{Inset[p1],Inset[p2]}]
> 
>  
> 
> 
> 
> 
> 
> I hope somebody can help me.
> 
>  
> 
> Thanx a lot.
> 
> Jozef
> 
> 
> 
> 



  • References:
  • Prev by Date: Re: DOCS: debugger + theorem prover
  • Next by Date: Re: video on Presentations by Williams and Park
  • Previous by thread: ImageResize
  • Next by thread: Memory management in NMinimize