掲示板


気軽にお使いください。

書き込む / 読む / Oy[W / y[W / SL / 削除 / 運営方針 / 戻る


書き込む

管理人が多忙のため、すぐにお返事する事が出来ません。 そこで、書き込みを一時停止させて頂きます。ご了承ください。

読む

Lԍ 31`40 / 1000

Re: MIDP(J-PHONE)ł̉摜̉]ɂ‚

ς肻łB
肪Ƃ܂Bǂ@ȂlĂ݂܂B
ǂB
@
[FUKcc-01p55.ppp.odn.ad.jp] (2002/5/27 () 10:29 e) @

Re: MIDP(J-PHONE)ł̉摜̉]ɂ‚

₷݂Aɂ́BAtsushi łB

> J-PHONEʼn摜(PNG)㉺]̂łA
> FlipImageFiltergƁijava.awt.DimensionjG[ɂȂ܂B

MIDP API ͂ɂȂ܂ł傤 ?
MIDP ɂ Dimension NX ImageFilter NX܂B

Dimension NX͑piȂAFlipImageFilter NX
ǂ΂悢ł傤AMIDP ɂ͌X ImageFilter Ȃ̂ŁA
ImageFilter ͍܂B

gь Java AvŁA摜tB^f[^z񂩂Cӂ̉摜
IuWFNg𐶐悤Ƃ̂͒߂قǂƎv܂B
@
Atsushi [i081141.ap.plala.or.jp] (2002/5/22 () 22:13 e) @

MIDP(J-PHONE)ł̉摜̉]ɂ‚

ɂ́B
͂肪Ƃ܂B
܂܂AŋkłAJ-PHONEʼn摜(PNG)㉺]̂łAFlipImageFiltergƁijava.awt.DimensionjG[ɂȂ܂B
悢@͂Ȃł傤H


@
[YahooBB218114100007.bbtec.net] (2002/5/21 () 22:53 e) @

ɂ́BAtsushi łB

̃z[y[W苷ɂȂĂ̂ŁAhC
z܂B

ʂ`FbN‚łAN؂⓮삵ĂȂ
Q[܂AĂƊłB

eʕsŏoȂ tips ̒ljGĽJAQ[
̒ljĊJĂƎv܂Bꂩ
낵肢܂B
@
Atsushi [i081141.ap.plala.or.jp] (2002/5/18 (y) 15:08 e) @

Re: MingleImageFilterł̓摜̏dˍ킹EEE

Atsushi l

̂񓚂肪Ƃ܂B
܂ł܂B
ǂAꂩ낵肢܂B

ł́B
@
[YahooBB218114100007.bbtec.net] (2002/5/11 (y) 17:40 e) @

Re: MingleImageFilterł̓摜̏dˍ킹

ɂ́BAtsushi łB

MingleImageFilter NX̃RXgN^ɏԂ
Ă܂Ăǂ̂łAȉ̂悤ɏCĉB
̕@Ȃ牺L̃bN͋N肦Ȃ̂ŁAȂ
ł܂B

public MingleImageFilter(Image image,double rate,int x,int y)
{
@this.image=image;
@this.rate =rate;
@this.ox =x;
@this.oy =y;

@imageSize=new Dimension(image.getWidth(null),image.getHeight(null));
@pixels=new int[imageSize.width*imageSize.height];
@grabber=new PixelGrabber(image,0,0,imageSize.width,imageSize.height,pixels,0, imageSize.width);

@try {
@@grabber.grabPixels();
@} catch (InterruptedException e) {}
}

public void setDimensions(int width,int height)
{
@super.setDimensions(width,height);
}
@
Atsushi [i081141.ap.plala.or.jp] (2002/5/11 (y) 12:02 e) @

Re: MingleImageFilterł̓摜̏dˍ킹

₷݂Aɂ́BAtsushi łB

# [łԎ܂Ãy[WQlɂ
# 邩Ȃ̂ŁAɂԎĂ܂

>> AImageFilter gpOɁAMediaTracker NXʼn摜ǂݍ݂
>> ҂΁Ǎۂ͉ł邩܂B

ׂĂ݂܂Aǂݍ݊Ƃ͖֌WłˁB炵܂B
A͂ grabPixels() \bhŎ~܂Ă܂Ă܂B

> ȂA摜̏ꍇȂĂ܂̂ł傤H

ImageFilter ֘ÃvO͕̓GȂ̂ŁA
cłĂ킯ł͂Ȃ̂łB

炭ÃXbhANZXĂsȂ悤ɁA
FilteredImageSource NXőΏۉ摜փbNĂA
MingleImageFilter PixelGrabber 摜փbN
邽߂ɁAfbhbNĂ܂̂ł͂Ȃł傤B
@
Atsushi [i081141.ap.plala.or.jp] (2002/5/11 (y) 12:00 e) @

MingleImageFilterł̓摜̏dˍ킹

>> img_i[0] = getImage(getCodeBase(), "images/s.gif");
>> img_i[1] = getImage(getCodeBase(), "images/s.gif");
>> img_b[0]=this.createImage(new FilteredImageSource(img_i[0].getSource(),new MingleImageFilter(img_i[1],counter, 0, 0)));

>̃R[hƁAAvbgʼn摜ǂݍł悤ł̂ŁA
>getImage \bhł͂ȂAImageFilter Ă΂ꂽ_ʼn摜ǂݍ
>҂Ă͂łB̂ƂAL̂悤ȏՓ˂NĂ
>l܂BVM Ȃǂ̊‹ɂĂ󋵂ςÔ\܂B

>AImageFilter gpOɁAMediaTracker NXʼn摜ǂݍ݂
>҂΁Ǎۂ͉ł邩܂BxĂ
ł傤B

wE肪Ƃ܂B
R[h͔ċLq܂Bۂɂ́A
try {mt.waitForAll();}
catch (InterruptedException e) {}
𗘗pĂ܂B

init֐ʼn摜ǂݍ
img_i[0] = getImage(getCodeBase(), "images/s.gif");
img_i[1] = getImage(getCodeBase(), "images/s.gif");

paint֐ŕωĂ܂B
img_b[0]=this.createImage(new FilteredImageSource(img_i[0].getSource(),new MingleImageFilter(img_i[1],counter, 0, 0)));


ȂA摜̏ꍇȂĂ܂̂ł傤H
IÉAł܂Ă܂܂B

Ȃ݂ɁAJDK1.0.2gpĂ܂B
@
[YahooBB218114100007.bbtec.net] (2002/5/10 () 23:54 e) @

MingleImageFilterł̓摜̏dˍ킹

₷݂A߂܂āBAtsushi łB

> MingleImageFilterid˂킹j̃tB^[ŕϊO
> ̉摜𓯂摜w肵ꍇA߂Ă܂B
> ȂA߂ĂȂsȂ̂ŏĂ܂B

MingleImageFilter ʏ ImageFilter ̈ƂďĂ܂̂ŁA
ImageFilter ̖̂ɗł悤Ɏv܂B

\złAMingleImageFilter ͓ŗ^ꂽ摜̃hbgz
PixelGrabber IuWFNggpēǂł邽߁AFilteredImageSource
IuWFNg̉摜̃hbgzǂݎƏՓ˂Ă܂Ă̂ł
ȂƎv܂B

> img_i[0] = getImage(getCodeBase(), "images/s.gif");
> img_i[1] = getImage(getCodeBase(), "images/s.gif");
> img_b[0]=this.createImage(new FilteredImageSource(img_i[0].getSource(),new MingleImageFilter(img_i[1],counter, 0, 0)));

̃R[hƁAAvbgʼn摜ǂݍł悤ł̂ŁA
getImage \bhł͂ȂAImageFilter Ă΂ꂽ_ʼn摜ǂݍ
҂Ă͂łB̂ƂAL̂悤ȏՓ˂NĂ
l܂BVM Ȃǂ̊‹ɂĂ󋵂ςÔ\܂B

AImageFilter gpOɁAMediaTracker NXʼn摜ǂݍ݂
҂΁Ǎۂ͉ł邩܂BxĂ
ł傤B
@
Atsushi [i081141.ap.plala.or.jp] (2002/5/9 () 22:48 e) @

ĂB

͂߂܂āB
摜tB^͂ƂĂQlɂȂ肨łB肪Ƃ܂B
_̂łAMingleImageFilterid˂킹j
tB^[ŕϊOƌ̉摜𓯂摜w肵ꍇA߂
܂B
img_i[0] = getImage(getCodeBase(), "images/s.gif");
img_i[1] = getImage(getCodeBase(), "images/s.gif");
img_b[0]=this.createImage(new FilteredImageSource(img_i[0].getSource(),new MingleImageFilter(img_i[1],counter, 0, 0)));

Ⴄ摜ȂȂ삷̂łBBB
摜Ȃ̂ŁȀsĂӖȂ̂ł߂΂悢̂ł
ȂA߂ĂȂsȂ̂ŏĂ܂B

A΋ĂB낵肢܂B
@
[YahooBB218114100007.bbtec.net] (2002/5/8 () 00:27 e) @

削除

폜L[@
記事を削除したい場合はその記事の [削除] 欄をチェックして、 投稿時に設定した削除キーをすぐ上の欄に入力して 「削除する」ボタンを押してください。

戻る